turncoat
Registered
Hi, I'm new to Cocoa programming, and I have some questions about coloring the text in my new program.
My application has a text window with RTDF support, I also have a color well with controls for it, and two buttons which do nothing.
I want one button to take the color from the color well, and make whatever text is selected turn to that color.
I also want to the other button to set the color in the color well to the background color of the text view.
If you know how to do either of these, please expliain how.
* On a side note, if anyone knows where I can find/learn about some code to make a word counter, I'd be appreciative also.
My application has a text window with RTDF support, I also have a color well with controls for it, and two buttons which do nothing.
I want one button to take the color from the color well, and make whatever text is selected turn to that color.
I also want to the other button to set the color in the color well to the background color of the text view.
If you know how to do either of these, please expliain how.
* On a side note, if anyone knows where I can find/learn about some code to make a word counter, I'd be appreciative also.