I spent a short while this afternoon solving a problem Mat set me: to have two colours and get the text in an NSTextView to blend the two colours in a gradient. The result is here. Simple to do, as well… Only about 20 lines of code (and I use lots of spacing to make things clear).
Search
About Me
I'm an AIESECer.
I'm a recent graduate of a Business IT degree from UNSW.
I used to be apathetic; now I want to change the apathy I see around me.
I want to make the world a better place... somehow. These are my notes and thoughts on that journey.

Latest Comments
RSS- Rob on the post Hope of a nation
- Danu on the post Farewell Australia!
- cavalier on the post Foxtel iQ
- Rob on the post Farewell Australia!
- Ivy on the post MacBook Pro battery problems
- Tyson on the post MacBook Pro battery problems
- Jeremy Higgs on the post Little treasures
- Raza Rumi on the post Little treasures
- Raza Rumi on the post Little treasures
- Jeremy Higgs on the post Announcing the JIRA Plugin for Quicksilver







0 Responses to “Code: Blending two colours across text”
Leave a Reply