Populating transient attributes on an NSManagedObject

48 views
Skip to first unread message

Nic Werner

unread,
Jun 2, 2012, 7:20:20 PM6/2/12
to res...@googlegroups.com
I have an NSManagedObject that has several transient attributes. I'm familiar with using those attributes when creating an Object for POSTing, but in this case I want to receive an Object from the server that has these attributes populated.

I have the attributes marked as Transient in CoreData, and I've mapped those with RestKit. However, when I make a call to the server, the "didLoadObjects" response only has nil values for the attributes - all non-transient attributes have valid data. 

Is this a bug that RestKit doesn't populate transient attributes on response data?

When I mark those attributes as non-transient, they are populated no problem. But then RestKit adds each of those to the database, creating unnecessary objects.



Reply all
Reply to author
Forward
0 new messages