NSScreencast Episode #51 Intro to RestKit: Mapping
Intro to RestKit: Mapping - NSScreencast
RestKitでビール情報を取得する
- large framework
- complicated podspec
- subspec dependency
- Beer API site
- NSIndexSet *statusCodeSet = RKStatusCodeIndexSetForClass(RKStatusCodeClassSuccessful);
- [RKResponseDescriptor responseDescriptorWithMapping:mapping
- [RKObjectMapping mappingForClass:[Brewery class]];
- addAttributeMappingsFromArray
- addAttributeMappingsFromDictionary
- addRelationshipMappingWithSourceKeyPath
- breweryMapping, beerMapping, beerStyleMapping
- [[RKObjectRequestOperation alloc] initWithRequest:request
- dispatch_async
- progressHUD
- assert([NSThread isMainThread]);