title: How to set tableView cell title in ios?
body: <p>I am parsing JSON and storing it in an array.I have a custom cell subclass in which I am trying to set the title of a label from the content of parsed JSON.
  This is the parsing process.</p>
  
  <pre><code>@implementation BlogScreenViewController    
   - (void)viewDidLoad
  {
   [super viewDidLoad];
    self.jsonArray = [[NSMutableArray alloc]init];
  
   NSError *error = nil;
   NSURL *url = [NSURL URLWithString:@"http:web_services/blog.php"];
   NSData *data = [NSData dataWithContentsOfURL:url];
   self.jsonArray = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:&amp;error];
   for (NSDictionary *obj in self.jsonArray)    
  {
      NSLog(@"JSON string output :- %@ ", [obj objectForKey:@"titre"]); // shows titles
  }
  </code></pre>
  
  <p>In custom cell subclass</p>
  
  <pre><code>    // set blog title label
      UILabel *blogTitleLabel = [[UILabel alloc]initWithFrame:CGRectMake(60, 20, 200, 20)];
     // blogTitleLabel.text = @"This is blog title";  // This shows properly if used. 
  
      for (NSDictionary *obj in blogScreenVC.jsonArray ) //This doesn't work.
      {
           blogTitleLabel.text = [NSString stringWithFormat:@"%@",[obj objectForKey:@"titre"]];
      }
      [blogTitleLabel setFont:[UIFont systemFontOfSize:9]];
      [self addSubview:blogTitleLabel];
  </code></pre>