• 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
Adding an NSColor subclass to NSColorPanel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding an NSColor subclass to NSColorPanel?


  • Subject: Adding an NSColor subclass to NSColorPanel?
  • From: "David Springer" <email@hidden>
  • Date: Thu, 31 Jul 2008 15:20:48 -0600

Folks,

I would like to add instances of a subclass of NSColor to the color
panel.  The problem is, when you change to another app that does not
know about this subclass, the NSColorPanel kind of freaks out and
shows all the colors as white (even the system colors) - in some cases
it just crashes the other app.  Is there a way I can tell NSColorPanel
to add my special colors only for my app, and not affect other apps?

Thanks!
- Dave.S
_______________________________________________

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

  • Follow-Ups:
    • Re: Adding an NSColor subclass to NSColorPanel?
      • From: Timothy Wood <email@hidden>
    • Re: Adding an NSColor subclass to NSColorPanel?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: CALayer drawing "transition" effect?
  • Next by Date: Re: Adding an NSColor subclass to NSColorPanel?
  • Previous by thread: Re: [Q] [NSValue valueWithBytes: objCType:]
  • Next by thread: Re: Adding an NSColor subclass to NSColorPanel?
  • Index(es):
    • Date
    • Thread