RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class

后端 未结 2 1008
南笙
南笙 2021-01-04 00:30

I ran into a new problem that I can\'t seem to find a way around... Here is my RestKit code, following the Twitter Core Data example:

//
// RESTKIT
//

// re         


        
2条回答
  •  独厮守ぢ
    2021-01-04 00:53

    Have now read class documentation for RKObjectManager which clarifies handling of AF networking handling of base url. If I had read this first would have saved myself some time, and also from making irrelevant comments regarding paths in RestKit examples.

    Had problems matching a mix of object and entity mappings including a number of object mappings with a nil key path and different URL and found this answer very useful for determining the cause of the problem described following which may have contributed to others experiencing similar problems.

提交回复
热议问题