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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to