Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: (no subject) (From: Scott Ribe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.