-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
Still getting warnings #16
Comments
@skywinder Any updates? |
And can't reproduce it. |
It seems the something wrong with warnings flags. I can't reproduce it. |
I get the same warnings:
The first two only appear if the deployment target is set to at least 7.0. |
I can confirm the warnings, I have also set the minimum deployment target to iOS 7.0. The if-else statement to use sizeWithFont or sizeWithAttributes is based on: if ( NSFoundationVersionNumber > NSFoundationVersionNumber_iOS_6_1) sizeWithAttributes is available since iOS 7.0. And so is NSFoundationVersionNumber_iOS_6_1. What will happen if this code runs on iOS 6? Will it crash on NSFoundationVersionNumber_iOS_6_1? |
@funnel20 No. This project fully compatible with iOS 6-7-8. And this check is needed to support all of them at once. Just ignore these warnings. I don't know where is the problem. But I assure you, that it's nothing wrong with this code. |
Ok, Guys. I figure out, what cause ignoring this warnings in my IDE: |
Thanks for the fix, warnings are gone. |
Hi Petr, Thanks for fixing this. Are you planning to tag a new stable release? With kind regards, Martijn On 27 Aug 2014, at 10:41 PM, Petr Korolev [email protected] wrote:
|
@funnel20 sorry for confusion with versions, especially with 1.0.x. |
@skywinder I first updated to version 1.1.5, that worked fine. |
You're welcome. |
See screenshot below:
The text was updated successfully, but these errors were encountered: