iPhone - Change entity class (NSManagedObject) to make them initializable

Posted by ncohen on Stack Overflow See other posts from Stack Overflow or by ncohen
Published on 2010-04-23T15:46:50Z Indexed on 2010/04/23 16:13 UTC
Read the original article Hit count: 239

Hi everyone,

I would like to use my custom NSManagedObject like a normal object (as well as its regular functions). Is it possible to modify the class in order to be able to initialize it like a normal object?

[[myManagedObject alloc] init];

Thanks

edit: to clarify the question, will it screw everything up if I change the @dynamic with @synthesize in the implementation?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data