Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: glenn andreas <email@hidden>
- Date: Mon, 22 Oct 2007 11:35:59 -0500
On Oct 22, 2007, at 11:27 AM, Scott Ribe wrote:
In general, if you could, it would result in a hideous UI.
Everything you say is true if the feedback mechanism is modal. But
if it is
some kind of status indicator, all those problems go away.
Excellent point - I was working from the "built in" max/min support
you get for free via settings in IB...
Anyway, there's no built-in filtering mechanism, but you can
certainly look
at the methods of NSRespondertext input, and use them to respond to
data
entry (remember, not just keystrokes, but also paste, for example)
and parse
at each incremental change.
Or you can use the control's delegate method - namely
"controlTextDidChange:" notification, which is sent every time the
control changes (which covers all the various input/keystroke/paste/
drag & drop/psychic gestures/whatever combinations)
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
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