title: How to show NSTimeInterval on timer label
body: <p>I'm Japanese so I'm not good at writing English.</p>
  
  <p>So I hope people can understand what I'm trying to say otherwise I'll stuck for forever!!</p>
  
  <p>I'm trying to create timer so I have object called <strong>Food.h</strong> which has:</p>
  
  <pre><code>@property (nonatomic,copy) NSString *text;
  
  @property (nonatomic, assign) NSTimeInterval time;
  </code></pre>
  
  <p>also I have object called <strong>CategoryName.h</strong> which has:</p>
  
  <pre><code>@property (nonatomic, copy) NSString *name;
  
  @property (nonatomic, strong) NSMutableArray *items;
  </code></pre>
  
  <p>and I am doing this on my <strong>DataModel.h</strong>:</p>
  
  <pre><code>@property (nonatomic, strong) NSMutableArray *lists;
  </code></pre>
  
  <p>then on my <strong>DataModel.m</strong>:
      self.lists = [[NSMutableArray alloc]initWithCapacity:20];</p>
  
  <pre><code>CategoryName *categoryName;
  
  Food *food;
  
  categoryName = [[CategoryName alloc]init];
  categoryName.name = @"Spagettie";
  
  categoryName.items = [[NSMutableArray alloc] initWithCapacity:20];
  
  Food *food;
  
  food = [[Food alloc]init];
  
  food.text = @"Spaghetti";
  food.time = 600;
  [categoryName.items addObject:food];
  </code></pre>
  
  <p>all Food, CategoryName, DataModel are subclass of NSObject.</p>
  
  <p>and, I have this method to set my timer's time:</p>
  
  <pre><code>- (void)setCountDownTime:(NSTimeInterval)time
  {
  
      timeUserValue = (time &lt; 0)? 0 : time;
  
      timeToCountOff = [date1970 dateByAddingTimeInterval:timeUserValue];
  
      [self updateLabel];
  
  }
  </code></pre>
  
  <p>In my <strong>TimerViewController.h</strong> file, I put:@property (nonatomic, strong) Food *food;
  so I do <strong>TimerViewController.m</strong> file :</p>
  
  <pre><code>self.title = self.food.text 
  
  [timer setCountDownTime:self.food.time];
  </code></pre>
  
  <p>title will works for this but for my timer label, it won't show any error however my label doesn't change.</p>
  
  <p>If I do </p>
  
  <pre><code>[timer setCountDownTime:600];
  </code></pre>
  
  <p>it works. So please tell me what I'm doing wrong!</p>