• 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: Is automatic key-value validation possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is automatic key-value validation possible?


  • Subject: Re: Is automatic key-value validation possible?
  • From: Christian Gottschall <email@hidden>
  • Date: Sat, 18 Sep 2004 20:31:25 +0200


Am 18.09.2004 um 17:58 schrieb Frederick Cheung:

On 18 Sep 2004, at 17:55, Christian Gottschall wrote:

when I implement a validation method for some property Hugo, is there a way to bind e.g. a NSTextField to that property such that Cocoa itself takes care of validation (by automatically calling validateHugo:error:, just like it calls setHugo: for actually setting the value)?

You need to tick the "validates immediately" box when you set the binding in IB.

That's what I am looking for. Thank you very much!

Best regards,
	Christian

http://logik.phl.univie.ac.at/chris/

_______________________________________________
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: 
 >Is automatic key-value validation possible? (From: Christian Gottschall <email@hidden>)
 >Re: Is automatic key-value validation possible? (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: Converting an Absolute path to a relative path?
  • Next by Date: Re: Converting an Absolute path to a relative path?
  • Previous by thread: Re: Is automatic key-value validation possible?
  • Next by thread: Converting an Absolute path to a relative path?
  • Index(es):
    • Date
    • Thread