How does one create a Core Data Entity that has custom objects within it?
E.g. An entity that has the possibility of holding, e.g. images, audio clips, a custom godzilla object.
How are these saved and loaded as well? Using NSData?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best way would be to use a ‘transformable’ attribute. See the Core Data documentation here for more information:
Non-Standard Persistent Attributes