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

kCTLeftTextAlignment is deprecated in IOS 9 #594

pangelovski opened this Issue Oct 6, 2015 · 4 comments


None yet
5 participants
Copy link

pangelovski commented Oct 6, 2015

In the TTTAttributedLabel.m file, I am getting warning messages that the kCTLeftTextAlignment is deprecated.


switch (alignment) {
    case NSTextAlignmentLeft: return kCTLeftTextAlignment;
    case NSTextAlignmentCenter: return kCTCenterTextAlignment;
    case NSTextAlignmentRight: return kCTRightTextAlignment;
    default: return kCTNaturalTextAlignment;

This comment has been minimized.

Copy link

GoldenJoe commented Oct 20, 2015

Looks like they should be:



This comment has been minimized.

Copy link

aehlke commented Dec 6, 2015

Thanks @GoldenJoe !


This comment has been minimized.

Copy link

dillan commented Nov 17, 2016

@adonoho I believe you addressed this issue in [dbdbd0f].


This comment has been minimized.

Copy link

AnthonyMDev commented Mar 21, 2017

When trying to push a CocoaPod to the trunk that has a dependency on this pod, this deprecation is still causing errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.