Cannot find interface declaration for 'RKObject', superclass of '.....

744 vistas
Ir al primer mensaje no leído

gotoanddevelop

no leída,
18 jun 2011, 7:30:35 p.m.18/6/11
para RestKit
Just upgraded a project I have been working on to the latest version
of Restkit. I followed the installation instructions to the letter and
got the following error:

Cannot find interface declaration for 'RKObject', superclass of '...'

#import <RestKit/RestKit.h>

@interface DOProduct : RKObject <NSCopying> {
...


Each time I try and build I get a different number of error but they
all say the same thing. It's like it cannot see Restkit however the
intellisense is working.

Any Ideas?

Victor Kryukov

no leída,
19 jun 2011, 4:38:18 a.m.19/6/11
para res...@googlegroups.com
RKObject is no more - it was removed while moving to ObjectMapping 2.0. Examples were updated to the account for that - e.g. Discussion Board compiles and runs just fine on the latest version.

Try inherit from NSObject instead.

@interface DOProduct: NSObject <NSCopying> { ...


-- 
Victor Kryukov

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos