• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: (no subject)
      • From: Scott Ribe <email@hidden>
References: 
 >Re: (no subject) (From: Scott Ribe <email@hidden>)

  • Prev by Date: Gnarly problem getting a NSResponder inserted into the action chain.
  • Next by Date: Re: telling when a directory is really a bundle
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread