• 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
Re: Making my transition to bindings, how do I initilize my values & notifications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making my transition to bindings, how do I initilize my values & notifications?


  • Subject: Re: Making my transition to bindings, how do I initilize my values & notifications?
  • From: George Lawrence Storm <email@hidden>
  • Date: Mon, 18 Oct 2004 15:16:51 -0700


On Oct 18, 2004, at 2:45 PM, Scott Anguish wrote:

Opps, correction, I do have the ability to use -awakeFromNib: (I forgot it was an informal protocall) and have initilized my variables accordingly, however I still do not know how to tell the views to use their values.

If you set the variables using KVC compliant methods, they'll be updated automatagically.

That is what I thought would be the case, however it looks like I missed something along the line.

Turns out that although I had set it when first setting up my .nib file (I do remember setting it), by rechecking my .nib I found that my NSObjectController had lost it's content link. I now am showing my stored values correctly.

---

Next question:

Is it OK to call +setKeys:triggerChangeNotificationsForDependentKey: from my -awakeFromNib: and do I need to un-notify and or otherwise release it when I dispose of my object?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Making my transition to bindings, how do I initilize my values & notifications? (From: George Lawrence Storm <email@hidden>)
 >Re: Making my transition to bindings, how do I initilize my values & notifications? (From: George Lawrence Storm <email@hidden>)
 >Re: Making my transition to bindings, how do I initilize my values & notifications? (From: Scott Anguish <email@hidden>)

  • Prev by Date: NSMatrix selection problem
  • Next by Date: Import a C library
  • Previous by thread: Re: Making my transition to bindings, how do I initilize my values & notifications?
  • Next by thread: NSMatrix selection problem
  • Index(es):
    • Date
    • Thread