title: Unrecognized selector sent to instance with TableViewController
body: <p>I'm very new to Obj-c and I'm now creating a tableview to show what I have parsed from Json. Here's the code:</p>
  
  <pre><code>#import "ClasstableViewController.h"
  @interface ClasstableViewController ()
  @end
  @implementation ClasstableViewController
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  
      self.title = @"JSONRead";
      NSString *testUrl = @"example.com";
      NSURL *url = [NSURL URLWithString:testUrl];
  
      NSURLRequest *request = [[NSURLRequest alloc]initWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy
                                               timeoutInterval:10];
  
      NSData *JSONData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
      NSArray *jsonResult = [NSJSONSerialization JSONObjectWithData:JSONData options:kNilOptions error:nil];
      self.data = jsonResult;
      NSMutableArray *_names = [NSMutableArray array];
  
      for (id item in jsonResult)
          [_names addObject:[NSString stringWithFormat:@"%@", item[@"Mon"]]];
  
      self.names = _names;
  }
  
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
  
      // Return the number of sections.
      return 1;
  }
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
  
      // Return the number of rows in the section.
      return [self.names count];
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
      static NSString *CellIdentifier = @"Cell";
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  
      if (!cell)
          cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
  
      cell.textLabel.text = self.names[indexPath.row];
  
      return cell;
  }
  </code></pre>
  
  <p>and I have change my tableview to the correct class in the identity inspector to ClasstableViewController, I see others have resolve their issues with this solution.</p>
  
  <p>but I'm still getting this:</p>
  
  <pre><code>-[__NSCFString objectForKeyedSubscript:]: unrecognized selector sent to instance 0x7fd8835691c0
  *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString objectForKeyedSubscript:]: unrecognized selector sent to instance 0x7fd8835691c0'
  </code></pre>
  
  <p>anyone have any idea why?</p>