Thanks for the quick reply. Could you be a bit more specific? Do I have to override the set method of NSColor and how do I write the name of the color in the pdf?
On 23 Feb 2011, at 09:50, Kyle Sluder wrote: > On Tue, Feb 22, 2011 at 10:27 AM, Kristof Vanhaesebrouck > <kristof.vanhaesebro...@nss.be> wrote: >> Hi all, >> >> I'm working on an application which has to generate PDF's with spot colors. >> I have been experimenting with Cocoa and NSColor but can't seem to find how >> to create a spot color in Cocoa. >> Does anyone know how to do this? > > Off the top of my head: Subclass NSColor. Keep your subclass within > whatever color space the spot colors are defined, so that they can be > converted to that color space for onscreen drawing. You can put > instances of your color subclasses in an NSColorList for the user to > pick from, and even write a custom color picker if you want. > > --Kyle Sluder Looking for Web-to-Print Solutions? Visit our website : http://www.vit2print.com This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information and/or information protected by intellectual property rights. If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please immediately notify the sender and permanently delete the original as well as any copy of any e-mail and any printout thereof. We may monitor e-mail to and from our network. NSS nv - Tieltstraat 167 - 8740 Pittem - Belgium _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com