Re: Making my transition to bindings, how do I initilize my values & notifications?
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