• 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: Tuning KVO validation.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tuning KVO validation.


  • Subject: Re: Tuning KVO validation.
  • From: Allan Odgaard <email@hidden>
  • Date: Wed, 25 Feb 2004 14:47:22 +0100

On 25. Feb 2004, at 14:42, Sscar Morales Vivs wrote:

And I don't have anything against that behaviour, as I already understood why it is set so. I just want to be able to specify the one I want too.

Then implement textView:shouldChangeTextInRange:replacementString: in your delegate (of the field editor) and let it return NO (and do NSBeep()) when you see an illegal string.

The binding system nor the formatter system is made for that.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Tuning KVO validation.
      • From: Óscar Morales Vivó <email@hidden>
References: 
 >Tuning KVO validation. (From: Óscar Morales Vivó <email@hidden>)
 >Re: Tuning KVO validation. (From: Allan Odgaard <email@hidden>)
 >Re: Tuning KVO validation. (From: Óscar Morales Vivó <email@hidden>)
 >Re: Tuning KVO validation. (From: Allan Odgaard <email@hidden>)
 >Re: Tuning KVO validation. (From: Óscar Morales Vivó <email@hidden>)
 >Re: Tuning KVO validation. (From: Allan Odgaard <email@hidden>)
 >Re: Tuning KVO validation. (From: Óscar Morales Vivó <email@hidden>)

  • Prev by Date: Re: Tuning KVO validation.
  • Next by Date: Re: Tuning KVO validation.
  • Previous by thread: Re: Tuning KVO validation.
  • Next by thread: Re: Tuning KVO validation.
  • Index(es):
    • Date
    • Thread