RestKit Swift错误“;类型为'的值;RKObjectManager';没有成员';managedObjectStore'&引用;
我使用cocoapods安装了RestKit 0.26,并在桥接头中导入RestKit,如下所示:RestKit Swift错误“;类型为'的值;RKObjectManager';没有成员';managedObjectStore'&引用;,swift,restkit,restkit-0.26.x,Swift,Restkit,Restkit 0.26.x,我使用cocoapods安装了RestKit 0.26,并在桥接头中导入RestKit,如下所示: #import <CoreData/CoreData.h> #import <RestKit/CoreData.h> #import <RestKit/RestKit.h> 其更可能存在错误,但在Swift中 有什么帮助吗? 谢谢 self.rkManagedObjectStore = RKManagedObjectStore(managedObjectMod
#import <CoreData/CoreData.h>
#import <RestKit/CoreData.h>
#import <RestKit/RestKit.h>
其更可能存在错误,但在Swift中
有什么帮助吗?
谢谢
self.rkManagedObjectStore = RKManagedObjectStore(managedObjectModel:self.managedObjectModel)
self.rkObjectManager.managedObjectStore = self.rkManagedObjectStore