Re: Changing color in NSColorPanel without message
Re: Changing color in NSColorPanel without message
- Subject: Re: Changing color in NSColorPanel without message
- From: Andy Lee <email@hidden>
- Date: Thu, 17 Jan 2013 03:58:05 -0500
On Jan 17, 2013, at 3:30 AM, Andy Lee <email@hidden> wrote:
> One thing I didn't test was whether this was due to changeColor: being sent or due to the color well responding to the notification,
Actually this doesn't matter since notifications are sent synchronously.
*But* I couldn't resist poking around some more, and found that NSColorWell (the thing that is FR at the time of my test) does not implement changeColor:. So I bet it is in fact responding to the color panel by handling NSColorPanelColorDidChangeNotification. Knowing this doesn't really help, I was just a bit surprised.
Melvin, I know you're figuring on refactoring rather than kludging. If I figure out a hack that works, I'll announce it.
--Andy
_______________________________________________
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