> On 2016 Apr 28, at 13:23, Jens Alfke <j...@mooseyard.com> wrote:
> 
> So you can start out declaring the model classes like
>       @interface Message : NSObject <NSCoding>

Just to clarify, the reason why you must do this and not inherit from 
NSManagedObject is because the designated initializer of NSManagedObject is 
-initWithEntity:insertIntoManagedObjectContext:.  Using +alloc-init will raise 
an exception or something.

Although your intended “migration” plan is possible as Jens says, keep in mind 
while considering this that you will make some decisions in the initial design 
that you will later regret, particularly if your reason for not using Core Data 
to begin with is that you are not familiar enough with Core Data.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to