Hello,

I'm trying to rework some working Objective-C code to validate my user 
interface items to Swift.

I have a NSButton subclass that I want to conform to 
NSValidatedUserInterfaceItem, so I can call validateUserInterfaceItem: on a 
validator passing the button as a parameter. This requires my subclass to 
implement two methods: action() and tag(). The compiler complains about the 
selectors being identical to the 'action' and 'tag' selectors in superclass 
NSControl.

Is there a way to solve this? 

-- 
Luc Van Bogaert

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to