On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote:
I want to store a list of Strings as an attribute of an entity in
Core Data but there doesn't appear to be a way to use NSArray (or
NSSet or NSDictionary either) as an attribute.?Please can someone
explain how you use an NSArray
On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote:
I want to store a list of Strings as an attribute of an entity in
Core Data but there doesn't appear to be a way to use NSArray (or
NSSet or NSDictionary either) as an attribute.?Please can someone
explain how you use an NSArray or
Have a look at the following ...
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html#//apple_ref/doc/uid/TP40001919
-Mic
2009/3/19 Chris Hanson c...@me.com:
On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote:
I want to store a list of Strings
You can do this quite easily ... just set the entity type as data, and
then leave the archiver as default. Then when you want to use the
array you just have to cast it into the correct type, and CoreData
will handle the unarchiving for you i.e
NSArray *myArray = [myManagedObject