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

deprecated methods #50

Closed
bizibizi opened this issue May 18, 2014 · 4 comments
Closed

deprecated methods #50

bizibizi opened this issue May 18, 2014 · 4 comments

Comments

@bizibizi
Copy link

'drawInRect:withFont:lineBreakMode:alignment:' is deprecated: first deprecated in iOS 7.0 - Use -drawInRect:withAttributes:

'sizeWithFont:constrainedToSize:lineBreakMode:' is deprecated: first deprecated in iOS 7.0 - Use -boundingRectWithSize:options:attributes:context:

@terryworona
Copy link
Owner

Are these warnings you are getting in your project?

@cdzombak
Copy link

Yes. (I see them in my project, too.)

@jeremypiednoel
Copy link

i see them too. project need to be in ios7 deployment target

  • (CGSize)drawInRect:(CGRect)rect withFont:(UIFont *)font lineBreakMode:(NSLineBreakMode)lineBreakMode alignment:(NSTextAlignment)alignment NS_DEPRECATED_IOS(2_0, 7_0, "Use -drawInRect:withAttributes:");

@terryworona
Copy link
Owner

Fixed in commit: a5828ae

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

4 participants