• 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
Re: Changing color in NSColorPanel without message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Changing color in NSColorPanel without message (From: Melvin Walker <email@hidden>)
 >Re: Changing color in NSColorPanel without message (From: Andy Lee <email@hidden>)
 >Re: Changing color in NSColorPanel without message (From: Melvin Walker <email@hidden>)
 >Re: Changing color in NSColorPanel without message (From: "email@hidden" <email@hidden>)
 >Re: Changing color in NSColorPanel without message (From: Andy Lee <email@hidden>)

  • Prev by Date: Comparator blocks in NSSortDescriptor not supported in Core Data?
  • Next by Date: Re: Custom View drawRect method is not invoked when use with AutoLayout
  • Previous by thread: Re: Changing color in NSColorPanel without message
  • Next by thread: Re: Changing color in NSColorPanel without message
  • Index(es):
    • Date
    • Thread