title: Data saved in Get request Success block can't be used
body: <p>My question is pretty simple and I'm sure it's solution is also simple but I just don't know and I can't find a solution online.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
  manager.responseSerializer = [AFJSONResponseSerializer serializer];
  [manager GET:@"http://api.dndzgz.com/services/bus" parameters:nil progress:nil success:^(NSURLSessionTask *task, id responseObject) {
      //NSLog(@"JSON: %@", responseObject);
      NSArray *locationsArray = [responseObject objectForKey:@"locations"];
  
      for (NSDictionary *location in locationsArray) {
          NSString *stopId = [location objectForKey:@"id"];
          NSString *stopTitle = [location objectForKey:@"title"];
          CLLocationDegrees latitude = [[location objectForKey:@"lat"] doubleValue];
          CLLocationDegrees longitude = [[location objectForKey:@"lon"] doubleValue];
  
          BusStop *stop = [[BusStop alloc] init];
          stop.name = stopTitle;
          stop.number = stopId;
          stop.latitude = latitude;
          stop.longitude = longitude;
  
          [self.stopsArray addObject: stop];
      }
  
  } failure:^(NSURLSessionTask *operation, NSError *error) {
      NSLog(@"Error: %@", error);
  }];
  </code></pre>
  
  <p>Basically the stopsArray is getting populated when I check it within the success block, but when I try to use it later, It's an empty array.</p>
  
  <p>How can I resolve this?</p>
  
  <p>Thanks </p>