Comments (12)
@skywinder Any updates?
from actionsheetpicker-3.0.
And can't reproduce it.
I don't see any warnings in Xcode.
I will try to investigate this issue later.
from actionsheetpicker-3.0.
It seems the something wrong with warnings flags. I can't reproduce it.
Until it is not fixed, just ignore it.
If someone can fix it - I will be glad to merge it.
from actionsheetpicker-3.0.
I get the same warnings:
AbstractActionSheetPicker.m:369:45: 'sizeWithFont:' is deprecated: first deprecated in iOS 7.0 - Use -sizeWithAttributes:
AbstractActionSheetPicker.m:476:20: 'contentSizeForViewInPopover' is deprecated: first deprecated in iOS 7.0 - Use UIViewController.preferredContentSize instead.
ActionSheetStringPicker.m:100:82: Implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int'
The first two only appear if the deployment target is set to at least 7.0.
from actionsheetpicker-3.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?
from actionsheetpicker-3.0.
@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.
I fix all issues. I add pragmas to mute warrnings.
I run Xcode analyze and it says me "no issues".
Probably something wrong with my settings of Xcode, but I have no idea how to fix it.
But I assure you, that it's nothing wrong with this code.
from actionsheetpicker-3.0.
Ok, Guys. I figure out, what cause ignoring this warnings in my IDE:
I was work with iOS deployment target 6.1. And thats why I didn't see any warnings.
Now it fixed. Thanks for patience.
Please, update to 1.1.6
from actionsheetpicker-3.0.
Thanks for the fix, warnings are gone.
from actionsheetpicker-3.0.
Hi Petr,
Thanks for fixing this.
Are you planning to tag a new stable release?
The last release is at 1.0.10.
I tried the master version a few days ago, but that didn't show the Sheet at all.
1.0.10 works fine, therefor I switched to it.
With kind regards,
Martijn
On 27 Aug 2014, at 10:41 PM, Petr Korolev [email protected] wrote:
Ok, Guys. I figure out, what cause ignoring this warnings in my IDE:
I was work with iOS deployment target 6.1. And thats why I didn't see any warnings.
Now it fixed. Thanks for patience.—
Reply to this email directly or view it on GitHub.
from actionsheetpicker-3.0.
@funnel20 sorry for confusion with versions, especially with 1.0.x.
I do not remember which of 1.0.x versions is stable. May fault.
But I highly recommend to you update to 1.1.5. Now it most stable version.
from actionsheetpicker-3.0.
@skywinder I first updated to version 1.1.5, that worked fine.
Now I have updated to 1.1.8 that solved the 3 compiler warnings from this issue and runs fine.
Thanks
from actionsheetpicker-3.0.
You're welcome.
I'll try to not commit in 1.1.x some any dangerous fetaures, only bugfixes.
Stay tuned!
from actionsheetpicker-3.0.
Related Issues (20)
- SWActionSheetVC.dismissTap prevents calendar from working in inline style
- OK Button Locale not change HOT 3
- Current date is not available on compact Date picker style iOS 14.4 & above HOT 1
- Exclude days or dates
- "exported: true has no effect in '_specialize' attribute" Issue at Xcode 12.5 HOT 3
- Not working with Swift Package Manager [bug] HOT 5
- Remove the pieces of the code for less than the Deployment Target HOT 3
- Picker not showing on iPad but only on iPhone HOT 1
- Picker not appearing if try to show back to back
- ActionSheet opens in wrong display when iphone is connected to an external display.
- Mac Catalyst Warnings HOT 1
- SPM Issues HOT 1
- Adjust Picker Width HOT 2
- Unable to build archieve on Xcode 14.3 HOT 11
- date selection error
- selectedDate for .countDownTimer not working as expected
- Need secrets.COCOAPODS_TRUNK_TOKEN HOT 5
- Privacy manifest required by Apple HOT 3
- Error in v2.7.3 compilation issue HOT 2
- Needs update README.md
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actionsheetpicker-3.0.