• 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
How to make validateUserInterfaceItem work for my controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: changing default class naming
  • Next by Date: tableView column ellipses
  • Previous by thread: Re: changing default class naming
  • Next by thread: tableView column ellipses
  • Index(es):
    • Date
    • Thread