• 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
String color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

String color


  • Subject: String color
  • From: Mark Wridt <email@hidden>
  • Date: Wed, 19 Sep 2001 11:38:00 -0700 (PDT)

I cannot figure out or find code to change a string's
color.

I have a color set, but getting the string to be that
color is causing errors (mostly selector not
recognized)

My color code (that is working):

NSColor *color;
color = [[NSColor redColor] retain];

but

[aString setColor:color];
[aString textColor:color];
[aString setTextColor];
(as well as other crazy combinations)

all are not working.



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/


  • Follow-Ups:
    • Re: String color
      • From: Douglas Davidson <email@hidden>
    • Re: String color
      • From: John Hörnkvist <email@hidden>
  • Prev by Date: Re: Forwarding and forwardInvocation
  • Next by Date: Re: String color
  • Previous by thread: Re: Aqua Interface Guidelines & Close Window location
  • Next by thread: Re: String color
  • Index(es):
    • Date
    • Thread