title: Get the text from a Text Field / Text View
body: <p>I'm actually in big troubles on how to get the Text from a <code>TextField</code> (and optionally a <code>TextView</code> ).
  I'll try to make it simple: I have my <em>PostIt.xib</em> which is composed of 2 labels (which I don't really care about) and also one <code>TextField</code> and one <code>TextView</code>. Here is how I tried to get the text from these:</p>
  
  <p>First, in my <code>PostIt.h</code> :</p>
  
  <pre><code>@interface PostIt : UIView {
  IBOutlet UITextField *titre;
  IBOutlet UITextView *commentaire; }
  </code></pre>
  
  <p>Then secondly, in my <code>PostIt.m</code> : (the real action of this method is that it close a view and normally throw back the information I want to get to another view, here: <code>parent</code> )</p>
  
  <pre><code>-(IBAction)doubleTap:(UITapGestureRecognizer *)recognizer{
  [_parent setTitre:titre.text];
  [_parent setCommentaire:commentaire.text];
  [_parent setIsEdited:true];
  [self removeFromSuperview]; }
  </code></pre>
  
  <p>My problem here is, when I call a <code>NSLog</code> (for example) to show me the Strings which are caught (probably a mistake here? sorry) it show me every time : <code>(null)</code></p>
  
  <p>I have been looking and trying a lot of answer i found but no one seems to be able to solve my problem...
  If someone could help me it will be really nice, thanks in advance :)</p>