Comments (16)
I had the same issue.
I resolved by specifying Swift 4.2 in the build setting.
(Build Settings > “Swift Language Version” > “Swift 4.2”)
Hope it helps.
from imagescrollview.
decelerationRate = UIScrollViewDecelerationRateFast
NotificationCenter.default.addObserver(self, selector: #selector(ImageScrollView.changeOrientationNotification), name: NSNotification.Name.UIDeviceOrientationDidChange, object: nil)
from imagescrollview.
is this library being maintained ??
from imagescrollview.
Not sure, I dare change this. Last time bloody XCode suddently showed 1000+ compile errors, due to crappy swift. Apple just needs to make a langauge one time instead of keep changing this. Apple is truely useless.
from imagescrollview.
Maybe you can make the library work with 3.0, 4.0 and 4.2 ?
from imagescrollview.
Xcode cannot migrate code either, as it is broken as it is. Think I will look for another library, once that is maintained....
from imagescrollview.
please remove this one from github, or maintain it!!!!
from imagescrollview.
I have the same errors and even more... I tried different ways and solved the problems.
I list some of what I did for @oeresundsgruppen :
- Cleaned the build (Command+ Shift + K or/and clean the contents within /Users/yourusername/Library/Developer/Xcode/DerivedData)
- Specified the build setting as @Ahayaki mentioned
- Instead of "Build" the product, "Run" it directly
At last, I appreciate @huynguyencong 's work to keep this pod updated.
We do not have to reinvent the wheel. Thank you @huynguyencong
from imagescrollview.
thx, have fixed this once, but would be great if @huynguyencong could update this also.
from imagescrollview.
Sorry for late response. I have updated the library for Swift 4.2 a few month ago, so it won't work for older Swift version. It is mentioned in Compatible section.
Please use older version of ImageScrollView (specify it in your Podfile) if you are using older Swift version.
from imagescrollview.
I had the same issue. There's some error occurred while running the project, I had tried the methods both @Ahayaki @digitsfan mentioned but it doesn't work. How can I fix it?
from imagescrollview.
I had the same issue. There's some error occurred while running the project, I had tried the methods both @Ahayaki @digitsfan mentioned but it doesn't work. How can I fix it?
Which Swift version are you using in your project?
from imagescrollview.
I had the same issue. There's some error occurred while running the project, I had tried the methods both @Ahayaki @digitsfan mentioned but it doesn't work. How can I fix it?
Which Swift version are you using in your project?
I'm using Swift 4.2 right now.
from imagescrollview.
Please check if you have updated the latest version of this library
from imagescrollview.
still not fixed in your library
from imagescrollview.
What Swift version are you using? Please choose the right version corresponding to your Swift version.
from imagescrollview.
Related Issues (20)
- Change orientation suggestion HOT 1
- can you support another gesture ? HOT 3
- Image in tableview sometimes shows dragged down
- Using programmatically without storyboard HOT 2
- Problems with iOS 13.3? HOT 5
- Image position is reset after tilt HOT 1
- Landscape Image not centered vertically (iOS 13.3) HOT 3
- How to set Placeholder Image while loading image from SDWebImage ? HOT 1
- Does this library support remote image Urls ? if so how to add multiple remote urls HOT 1
- DidChangeOrientation is fired when notification bar is swiped down HOT 3
- FeatureRequest: zoomed Image as variable HOT 1
- swiftui support? HOT 3
- May I know the purpose of 0.999 technique? HOT 1
- How to hide image , or set image content to nil HOT 3
- Random auto zoom-out issues HOT 5
- Tap Issue
- Get coordinates of the image on long press HOT 1
- my image update every second problem
- Is there a way integrate Kingfisher (or any image loading library) with ImageScrollView
- Image captured shows wrong orientation when open
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 imagescrollview.