title: How can I retrieve a certain view (textField) and its value?
body: <p>So my problem is that I have created some views in xcode by code (not the interface builder) and set specific tags for each one this is the code that I used to create NSTextField</p>
  
  <pre><code>NSTextField* textField;
  for(int i=1; i&lt;someNumber; i++)
  {
     frame = ...;
     textField = [[NSTextField alloc] initWithFrame: frame];
     textField.tag = i;
     [self.window.contentView addSubview: textField];
     textField.target = self;
  }
  </code></pre>
  
  <p>as you can see I'm not saving each textField, and at some point I would like to retrieve specific views to use their values later. So my questions are:</p>
  
  <ol>
  <li>How can I retrieve the views with only the tag number?  </li>
  <li>How can I get the value of the textFields after I've retrieved them?</li>
  </ol>