|
|
#1 |
|
changing color for a label
Hi there.
I am running Snow Leopard and running Xcode 4.0. I am trying to change the color of text in a label, however I can't seem to get it to work. I read the developer documentation, and when I use the line: Code:
[myText setTextColor:<#(NSColor *)#> Can someone tell me what I am supposed to do? I know that NSColor is looking for a pointer, but nothing I try seems to work. Simple for others, perhaps, but I am just starting here. UPDATE: I am getting closer. This doesn't work, but seems to be on track, if that seems right Code:
[myText setTextColor:(NSColor *) redColor]; Regards Last edited by azrael2000; Jan 31, 2013 at 01:11 PM. |
|
|
|
0
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 09:46 AM.







Threaded Mode