You need to set the color of the text in the "attributes
" dictionary you pass in via:
[textContent drawInRect: CGRectInset(textRect, 0, 6) withAttributes:attributes];
My suggest would be:
NSDictionary *attributes = @{ NSFontAttributeName:helveticaFont,
NSParagraphStyleAttributeName:paragraphStyle,
NSForegroundColorAttributeName: [NPSColor whiteColor]}