On 18 Dec 2011, at 17:08, Koen van der Drift wrote:

> Just to be sure I'm doing this correctly in my code I extract the number from 
> my textfield and stepper as follows: 
> 
> NSUInteger index =  [ indexTextField integerValue];
> 
> and/or
> 
> NSUInteger  index = [indexStepper integerValue];

The whole point of bindings is so you don't write this code at all.
> 
> 
> BTW that exclamation mark went away when I select a Value Transformer from 
> the field below it.  Is that also required besides a formatter?

A value transformer has the same effect as a formatter, but with less control. 
e.g. it can't report an error, or adjust input as the user types.

_______________________________________________

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