trying to get used to restkit at the moment and im having an issue getting it to work within a cocos2d template project. All my restkit code works fine if i create a standard viewcontroller project without any cocos2d but when i try add it to my cocos2d project it crashed in the same place everytime
- (NSString*)cacheKey {
if (_method == RKRequestMethodDELETE) {
return nil;
}
NSString* compositCacheKey = [NSString stringWithFormat:@"%@-%d-%@", self.URL, _method, [_URLRequest HTTPBody]];
return [compositCacheKey MD5];
it crashes on the return call above within RKRequest.m.
anyone had any issues working with both restkit and cocos2d together? if its even possible and what i need to look out for to make it work? any help is appreciated