I have the same issue. I'm binding my NSTextField value to my model
and using key-value validation to ensure the value is the right
length. If the user enters a value that it too short, the coerced
value will make it into my model, but the NSTextField keeps the pre-
validate value.
Anyone have any ideas on this?
Preston Jackson
http://sidelightblog.blogspot.com
On Apr 8, 2009, at 8:36 AM, development2 wrote:
I hope someone can help me. I need to set a Min and Max length for
an NSTextField. I also need to only allow certain characters that
the user can enter. How can this be accomplished? Do I have to use
an NSFormatter? If so are there any examples that someone can point
me to?
Thanks in advance.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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/preston.a.jackson%40gmail.com
This email sent to preston.a.jack...@gmail.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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 arch...@mail-archive.com