Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hasUIKitAdditions is reversed. #4

Open
flemingm opened this issue Mar 19, 2013 · 0 comments
Open

hasUIKitAdditions is reversed. #4

flemingm opened this issue Mar 19, 2013 · 0 comments

Comments

@flemingm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant