Re: bindings and NSNumberFormatter, enforcing min/max values
Re: bindings and NSNumberFormatter, enforcing min/max values
- Subject: Re: bindings and NSNumberFormatter, enforcing min/max values
- From: Ken Thomases <email@hidden>
- Date: Thu, 16 Sep 2010 21:52:38 -0500
On Sep 16, 2010, at 5:06 PM, Quincey Morris wrote:
> Regarding NSUserDefaults, I don't see anything in the documentation that claims KVC compliance for NSUserDefaults, though I could easily have missed it.
You're not supposed to bind to the shared NSUserDefaults instance. There's a separate class, NSUserDefaultController, which was specifically introduced for KVO and binding. This is what IB offers as one of the built-in bindings targets (Shared User Defaults Controller).
So, I suspect the category is on the wrong class.
Regards,
Ken
_______________________________________________
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