Parent/Child initialization with NSTreeController
Parent/Child initialization with NSTreeController
- Subject: Parent/Child initialization with NSTreeController
- From: email@hidden (tim lindner)
- Date: Sun, 9 Mar 2008 10:41:34 -0700
- Organization: Computers Suck, Inc.
I need more control when the user creates objects in my application.
I'm using an NSTreeController with CoreData (via Bindings). I have a
parent object that does double duty as a child object thru parent and
child relationships.
Parent and child objects need to be initialized diferently. Parent
objects need to be populated from a disk file and child objects get
their data from selected portions of the parent data.
I can't figure out how to pass this initialization information to the
NSManagedObject's awakeFromInsert: selector.
Any pointers?
--
tim lindner
email@hidden Bright
_______________________________________________
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