title: Using a label as a button - when label is touched, assign value to a string
body: <p>I am having some challenges with using a label as a button.  I have a label defined as a UILabel, and declared the string variable in my .h file:</p>
  
  <pre><code>IBOutlet UILabel *l1;
  
  @property(strong)NSString *myvariable;
  </code></pre>
  
  <p>In the xib, with the label selected, in the Identity Inspector view, under Document, the Label field with the desired label name is set - example: l1.  I also have some static text in the label.</p>
  
  <p>In File's Owner Connection Inspector, I have the l1 Outlet connected to the l1 label.</p>
  
  <p>My goal:  When the label is touched, I would like to simply assign a string variable with a text value such as what might be done in the .m file:</p>
  
  <pre><code>self.myvariable = l1.text;
  </code></pre>
  
  <p>Things that I have unsuccessfully tried: 
   - setting up a UIButton in my .h, 
   - tried to set up a UIButton in the .m
   - in the XIB Identity Inspector view, under Accessibility, tried checking the button Traits checkbox to enable the label as a button</p>
  
  <p>I haven't figured it out yet. This is probably an easy label question, and most of my experience with labels include static text display, or displaying a countdown based on present date using epoch time.  Any guidance would be greatly appreciated!</p>
  
  <p>Thanks in advance!
  Rob</p>