• 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
Defaulting new entity fields to be same as current selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Defaulting new entity fields to be same as current selection?


  • Subject: Defaulting new entity fields to be same as current selection?
  • From: Rick Mann <email@hidden>
  • Date: Sat, 31 May 2008 00:51:43 -0700

I've got an NSTreeController and associated view. I use - awakeFromInsert to set default values for the entities created as a result of calling -add. I'd like for one of the fields to take on the same value as the currently-selected entity. Can I get at that from within -awakeFromInsert? Must I create my own -add?

TIA,
--
Rick

_______________________________________________

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


  • Follow-Ups:
    • Re: Defaulting new entity fields to be same as current selection?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: KVO: I get called on change, but then can't get the object
  • Next by Date: Problem in continuing display time
  • Previous by thread: Re: KVO: I get called on change, but then can't get the object
  • Next by thread: Re: Defaulting new entity fields to be same as current selection?
  • Index(es):
    • Date
    • Thread