Re: Is automatic key-value validation possible?
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