How can Core Data store an NSData?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-06-07T10:38:41Z Indexed on 2010/06/07 10:42 UTC
Read the original article Hit count: 433

Filed under:
|

The documentation says, that core data properties can only store NSString, NSNumber and NSDate types. However, a lot of Core Data users claim Core Data could also store an NSData type. But I wasn't able to see that in the documentation, although the Xcode Data Modeler allows to choose a data type called "binary" (which seems to be NSData).

Did I miss something? Is there a hidden place in the documentation that indeed lists NSData for binary stuff?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data