Re: Another basic CoreData question
Re: Another basic CoreData question
- Subject: Re: Another basic CoreData question
- From: Noah Desch <email@hidden>
- Date: Thu, 8 Jul 2010 22:28:29 -0400
On Jul 8, 2010, at 7:33 PM, email@hidden wrote:
> Using the standard Employee/Department example, Whats the best way to set a default department for an Employee?
> So that every employee is created with a relationship to the "mailRoom" department.
Probably to add some custom code to AwakeFromInsert in your employee NSManagedObjectSubclass to set its own department.
-Noah_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden