Don't save NSManagedObjects to data store on call?

67 views
Skip to first unread message

Joseph Blossom

unread,
Nov 12, 2012, 1:21:58 PM11/12/12
to res...@googlegroups.com
Is it possible to tell a call not to automatically save the resulting objects to a data store on a call?

For instance, I have something on the server called "favorites" I'd like to persist these favorites on the phone. However, there are some calls which will return objects of the same type that are not a favorite and I do not want to persist these. How do I prevent calls from saving the objects? Is it possible? Or do I need to make managed and unmanaged types for both of these?

Joseph Blossom

unread,
Nov 12, 2012, 1:24:53 PM11/12/12
to res...@googlegroups.com
Ah, from further searches it looks like this is available in 0.20 development branch.

Blake Watters

unread,
Nov 12, 2012, 7:11:52 PM11/12/12
to res...@googlegroups.com
You can set the savesToPersistentStore property on RKManagedObjectRequestOperation on the development branch
Reply all
Reply to author
Forward
0 new messages