title: Incompatible pointer types assigning NSDictionary to parameter of type NSArray
body: <p>I am trying to convert a dictionary to an array in objective-c. I am getting this warning on line three. 'incompatible pointer types assigning nsdictionary to parameter of type nsarray'. Is there any way to convert that dictionary to an array without getting that warning?</p>
  
  <pre><code>// in DataSource.h
  
  @property (nonatomic,strong) NSArray *bars;
  
  // in MasterViewController.m
  
         AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
  operation.responseSerializer = [AFJSONResponseSerializer serializer];
  operation.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/plain"];
  
  [operation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
  
  
      NSDictionary *JSONDict = (NSDictionary *) responseObject;
      _dataSource.recievedJSON = JSONDict;
      _dataSource.bars = [NSArray arrayWithArray:JSONDict];
  
      self.title = @"Bars";
      [self.tableView reloadData];
  
      } failure:^(AFHTTPRequestOperation *operation, NSError *error) {
  
      // display alert if error downlading data
      UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Error Retrieving Weather"
                                                          message:[error localizedDescription]
                                                         delegate:nil
                                                cancelButtonTitle:@"Ok"
                                                otherButtonTitles:nil];
      [alertView show];
      }];
  
      [operation start];
  </code></pre>