-
Notifications
You must be signed in to change notification settings - Fork 6
Description
in MNAttributedString.m
Updated.
if TARGET_OS_IPHONE
+(BOOL)hasUIKitAdditions { // NSAttributeString is enhanced in ios 6.0
return ([[[UIDevice currentDevice] systemVersion] compare:@"6.0"] != NSOrderedAscending);
}
endif
Also on ios 5.1 I need to define some def for NS
NSLog(@"NSKernAttributeName '%@'", NSKernAttributeName);
NSLog(@"NSLigatureAttributeName '%@'", NSLigatureAttributeName);
NSLog(@"NSStrokeWidthAttributeName '%@'", NSStrokeWidthAttributeName);
NSLog(@"NSUnderlineStyleAttributeName '%@'", NSUnderlineStyleAttributeName);
NSLog(@"NSForegroundColorAttributeName '%@'", NSForegroundColorAttributeName);
NSLog(@"NSStrokeColorAttributeName '%@'", NSStrokeColorAttributeName);
NSLog(@"NSVerticalGlyphFormAttributeName '%@'", NSVerticalGlyphFormAttributeName);
NSLog(@"NSString *NSFontAttributeName = @"%@"", NSFontAttributeName);
NSLog(@"NSString *NSParagraphStyleAttributeName = @"%@"", NSParagraphStyleAttributeName);
I will make this a pull request at same time as issue #3