jverkoey/nimbus — Issue #137: NIAttributedLabel "setStrokeColor: Range" wrong color variable used
Author: mwehr
Created: 2012-01-01 17:50:06+00:00
State: open

Hi there,

First of all, big thanks for this amazing framework. As a faithfull 320 coder I just moved over to parts of Nimbus.
I think I've found a small failure in the "setStrokeColor: range" method.

- (void)setStrokeColor:(UIColor*)color range:(NSRange)range {
[_attributedString setStrokeColor:_strokeColor range:range];

[self attributedTextDidChange];
}

It seems that the "_strokeColor" ivar is mistakly used here instead of "the "color" param.

greetings

Mario