MichMich / XMCircleType

XMCircleType is a UIView that allows you to display an NSString as a cicular text. Is will take font kerning into account, so no weird spacings.
Apache License 2.0
92 stars 18 forks source link

Change text color #2

Closed sambudda closed 10 years ago

sambudda commented 10 years ago

How can I change the color of the font? I tried this but it doesn't work / compile.

self.circleView.textAttributes = @{NSFontAttributeName: [UIFont systemFontOfSize:15], [NSColor blackColor]};

sambudda commented 10 years ago

never mind ...

self.circleView.textAttributes = @{NSFontAttributeName: [UIFont systemFontOfSize:15], NSForegroundColorAttributeName:[UIColor redColor]};