以下のスニペットを使用するとundefined / undeclared error
、
NSForegroundColorAttributeName
私のコードスニペット
NSMutableAttributedString * string = [[NSMutableAttributedString alloc] initWithString:self.myDisplayTxt];
[string addAttribute:NSForegroundColorAttributeName value:[UIColor redColor] range:NSMakeRange(0,5)];
私にお知らせください