Re: Programmatic Binding
Re: Programmatic Binding
- Subject: Re: Programmatic Binding
- From: Quincey Morris <email@hidden>
- Date: Tue, 18 May 2010 12:40:27 -0700
On May 18, 2010, at 12:02, Richard Somers wrote:
> Foo is an int.
<sigh> If you want an answer, you're going to have to be a bit more forthcoming with information.
Is "foo" an instance variable or a property? If instance variable, what's the value of accessInstanceVariablesDirectly for its class? If a property, is there an @property declaration, and how are its getter and setter defined?
> Does not work means foo is never updated with the value in the user defaults.
Have you verified whether setFoo: is never called, or whether it's called with the wrong value? Is the setter called when you subsequently change the user default value that foo is bound to? How do you know that the user default value is correct? Just knowing that foo has the wrong value at some point isn't much help in tracking down the problem.
_______________________________________________
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