title: Cocoa: Loop through all controls in a window?
body: <p>I am programming Mac apps with Cocoa. </p>
  
  <p>How can I loop over/enumerate all the buttons, labels and other GUI controls in a NSWindow? I want to get the labels of each control</p>
  
  <p>Thanks!</p>