itsniper / FTASync

Allows you to sync CoreData entities with a Parse backend.
MIT License
311 stars 59 forks source link

Use of deprecated methods #25

Open Spokane-Dude opened 10 years ago

Spokane-Dude commented 10 years ago

In the module FTASyncHandler.m, there are at least 3 calls using [NSManagedObjectContext MR_contextForCurrentThread] which is deprecated, the use of MR_Save is deprecated and saveInBackgroundWithBlock is deprecated. The file will not build! and I need some help here to figure out what the correct methods are supposed to be!

Anyone?

mayankverma commented 10 years ago

I had similar issue. Had to manually changes all the MR_contextForCurrentThread to MR_defaultContext and MR_Save to to MR_saveToPersistentStoreAndWait or similar. It compiles now but I have some other issue of syncStatusValue object not being part of NSManagedObject