Updating README to document removal of JSONKit dependency and fixing AFHTTPClient example
This commit is contained in:
parent
3bc5351c63
commit
5a3a9b2f41
1 changed files with 3 additions and 7 deletions
10
README.md
10
README.md
|
|
@ -53,9 +53,9 @@ UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0.0f, 0.0
|
|||
|
||||
``` objective-c
|
||||
// AFGowallaAPIClient is a subclass of AFHTTPClient, which defines the base URL and default HTTP headers for NSURLRequests it creates
|
||||
[[AFGowallaAPIClient sharedClient] getPath:@"/spots/9223" parameters:nil success:^(id response) {
|
||||
NSLog(@"Name: %@", [response valueForKeyPath:@"name"]);
|
||||
NSLog(@"Address: %@", [response valueForKeyPath:@"address.street_address"]);
|
||||
[[AFGowallaAPIClient sharedClient] getPath:@"/spots/9223" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {
|
||||
NSLog(@"Name: %@", [responseObject valueForKeyPath:@"name"]);
|
||||
NSLog(@"Address: %@", [responseObject valueForKeyPath:@"address.street_address"]);
|
||||
} failure:nil];
|
||||
```
|
||||
|
||||
|
|
@ -118,10 +118,6 @@ If you are including AFNetworking in a project that uses [Automatic Reference Co
|
|||
|
||||
Although this is suboptimal, forking the project into an ARC and non-ARC branch would be extremely difficult to maintain. On the bright side, we're very excited about [CocoaPods](https://github.com/alloy/cocoapods) as a potential solution.
|
||||
|
||||
## Dependencies
|
||||
|
||||
* [JSONKit](https://github.com/johnezang/JSONKit)
|
||||
|
||||
## Credits
|
||||
|
||||
AFNetworking was created by [Scott Raymond](https://github.com/sco/) and [Mattt Thompson](https://github.com/mattt/) in the development of [Gowalla for iPhone](http://itunes.apple.com/us/app/gowalla/id304510106?mt=8).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue