diff --git a/README.md b/README.md index a74c793..a915bdf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http AFJSONRequestOperation *operation = [AFJSONRequestOperation operationWithRequest:request success:^(id JSON) { NSLog(@"Name: %@ %@", [JSON valueForKeyPath:@"first_name"], [JSON valueForKeyPath:@"last_name"]); }]; -[operation start]; +[[NSOperationQueue mainQueue] addOperation:operation]; ``` ### Image Request