Skip to content

Commit

Permalink
Merge pull request TTTAttributedLabel#151 from yomybaby/master
Browse files Browse the repository at this point in the history
fix typo (README.md example)
  • Loading branch information
mattt committed Jan 3, 2013
2 parents df1c4fc + 6eb8399 commit 9a7993b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NSString *text = @"Lorem ipsum dolar sit amet";
CTFontRef font = CTFontCreateWithName((CFStringRef)boldSystemFont.fontName, boldSystemFont.pointSize, NULL);
if (font) {
[mutableAttributedString addAttribute:(NSString *)kCTFontAttributeName value:(id)font range:boldRange];
[mutableAttributedString addAttribute:@"TTTCustomStrikeOut" value:[NSNumber numberWithBool:YES] range:strikeRange];
[mutableAttributedString addAttribute:@"TTTStrikeOutAttribute" value:[NSNumber numberWithBool:YES] range:strikeRange];
CFRelease(font);
}

Expand Down

0 comments on commit 9a7993b

Please sign in to comment.