• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Parent/Child initialization with NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Determining why outline view column editing cancels for no apparent reason
  • Next by Date: Re: Determining why outline view column editing cancels for no apparent reason
  • Previous by thread: Re: Determining why outline view column editing cancels for no apparent reason
  • Next by thread: Inverted images in selected segmented control segment
  • Index(es):
    • Date
    • Thread