NSColorWell / NSColorPanel
NSColorWell / NSColorPanel
- Subject: NSColorWell / NSColorPanel
- From: koko <email@hidden>
- Date: Fri, 03 Feb 2012 17:08:42 -0700
In a modal panel I have a NSColorWell. Clicking the NSColorWell display a NSColorPanel.
The NSColorPanel docs say that the method -(void)changeColor:(id)sender is sent to the first responder and that you can override this method in any responder that needs to respond to a color change.
I have implemented this method in the class that is the file's owner for the modal panel which is a NSWindowController.
The method -(void)changeColor:(id)sender is not called on a color change in the NSColorPanel.
How do I get the method -(void)changeColor:(id)sender called.
-koko
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden