How to make validateUserInterfaceItem work for my controller?
How to make validateUserInterfaceItem work for my controller?
- Subject: How to make validateUserInterfaceItem work for my controller?
- From: James Chen <email@hidden>
- Date: Thu, 20 Nov 2003 10:22:24 +0800
Hi all,
My controller (MyController), which inherit from NSObject, adopts
NSUserInterfaceValidations protocol.
Which means I override validateUserInterfaceItem to try to validate my
controls(NSButton).
Those controls' target is MyController. So I expect
validateUserInterfaceItem should be called to validate those controls.
But it was not.
Do I miss something? or I get the wrong idea about
NSUserInterfaceValidations and NSValidatedUserInterfaceItem.
Dosen't NSControl/NSCell adopt NSValidatedUserInterfaceItem?
Appreciate for your help
Jam
------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
_______________________________________________
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.