Skip to content

Conversation

@chu31g
Copy link

@chu31g chu31g commented Sep 15, 2015

No description provided.

@chu31g
Copy link
Author

chu31g commented Oct 7, 2015

It would be nice not to have warnings by integrating this library / pod ;-)

@RafaelKayumov
Copy link
Owner

Hi @chu31g.

Deployment target of demo project is 6.0. Target platform of the pod is 5.0. I'm currently using sizeWithFont: constrainedToSize:lineBreakMode: which is deprecated since 7.0 - that's right.
You offer to use boundingRectWithSize(_:options:attributes:context:) method instead, but it was declared only in 7.0. It's fine for your project though, but it can break things for others. Rare occasion, but still.

I think respondsToSelector: checks should be applied for both sentences.

@RafaelKayumov
Copy link
Owner

If it's only about hiding warnings, you could try inhibit_warnings like shown here

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

Successfully merging this pull request may close these issues.

2 participants