• 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: Bindings and Validation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and Validation


  • Subject: Re: Bindings and Validation
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 7 Dec 2004 13:45:45 -0800


On Dec 7, 2004, at 12:58 PM, Gustavo Di Martino wrote:

The documentation says to define a method with the following
signature:
-(BOOL)validate<Key>:(id *)ioValue error:(NSError **)outError;
for any properties that you want to be validated. I have done this, but
my method is never called. Is there anything else I have to do to get
validation to work?

Check the binding option for "Validates Immediately"?

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Bindings and Validation (From: Gustavo Di Martino <email@hidden>)

  • Prev by Date: Auto-hiding and auto-showing an NSTextField border
  • Next by Date: Re: Release understanding help…
  • Previous by thread: Bindings and Validation
  • Next by thread: Auto-hiding and auto-showing an NSTextField border
  • Index(es):
    • Date
    • Thread