RestKit/RestKit — Issue #393: Update Core Data objet mapping code in wiki
Author: iamcam
Created: 2011-10-11 15:52:25+00:00
State: open

I'm going through the object mapping + CD lesson right now and I've run into some code that needs updating. The wiki uses

RKObjectManager* objectManager = [RKObjectManager managerWithBaseURL:@"http://restkit.org"];

which won't work - managerWithBaseURL isn't a valid method name. The Example project, however, has it correct.

RKObjectManager* objectManager = [RKObjectManager objectManagerWithBaseURL:@"http://twitter.com"];

I know this is a minor change, but it's worth fixing for us RK n00bs.