开发者

undeclared object but everything implemented

i implemented first three20 (first, with the python scrip) and then restkit (second,manual). i started adding some stuff to my app delegate, but then i get an error [RKObjectLoaderTTModel undeclared. Other Objects RKClient or RKObjectManager work fine.

// work
[RKClient clientWithBaseURL:APP_BASE_URL username:USER_EMAIL password:USER_PASSWORD];
RKObjectManager* objectManager = [RKObjectManager objectManagerWithBaseURL:APP_BASE_URL];
//fail
[RKObjectLoaderTTModel setDefaultRefreshRate:1];

looking into RestKit/Build/RestKit/Three20 i can see RKObjectLoaderTTModel header.

i added all header search paths, etc , pp.

i think you get a better view, when looking i开发者_开发百科nto my project, sohere is it (have nothing done yet, so no problem with sharing): http://dl.dropbox.com/u/80699/project_for_stack.zip

hopefully somebody can help.


#import <RestKit/Three20/Three20.h>

had to import explicit the restkit three20 stuff.

hope this helps somebody. now everything runs fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜