title: Simple class example with @property not allowing property retrieval
body: <p>I created a <code>Food</code> object that I'd like to be able to set and get attributes of (such as <code>time</code>).  For some reason I'm allowed to set attributes, but I am not able to the get attributes.  I receive the following error by simply calling <code>food.time</code></p>
  
  <pre><code>Property 'time' not found on object of type 'conts __strong id'
  </code></pre>
  
  <p>I'm not sure if the problem is with putting it in, and then retrieving it from, an array or if it is how my object class is defined.  In this example I've simplified it so that you can see how I'm using it.</p>
  
  <p>Some controller (with other methods not shown here)</p>
  
  <pre><code>#import "Food.h"
  
  - (void)viewDidLoad
  {
      [super viewDidLoad];
  
      NSArray *foodArray = @[firstFood];
      for (id food in foodArray) {
          UILabel *foodLabel = [[UILabel alloc]
                                initWithFrame:CGRectMake(10, 180, self.view.frame.size.width-20, 50)];
          foodLabel.backgroundColor = [UIColor clearColor];
  
          foodLabel.text = food.time;  // This line causes error
  
          foodLabel.textColor = [UIColor blackColor];
          [foodLabel setFont:[UIFont fontWithName:@"Courier" size:14]];
          [self.view addSubview:foodLabel];
      }
  }
  </code></pre>
  
  <p>Food.h</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface Food : NSObject
  
  @property (strong, nonatomic) NSString *time;
  @property (strong, nonatomic) NSString *title;
  @property (strong, nonatomic) NSString *description;
  @property (strong, nonatomic) NSString *place;
  
  @end
  </code></pre>
  
  <p>Food.m</p>
  
  <pre><code>#import "Food.h"
  
  @implementation Food
  
  @end
  </code></pre>