Git Product home page Git Product logo

Comments (16)

Ahayaki avatar Ahayaki commented on July 3, 2024 2

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.

nvduc2910 avatar nvduc2910 commented on July 3, 2024 2

decelerationRate = UIScrollViewDecelerationRateFast
NotificationCenter.default.addObserver(self, selector: #selector(ImageScrollView.changeOrientationNotification), name: NSNotification.Name.UIDeviceOrientationDidChange, object: nil)

from imagescrollview.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

is this library being maintained ??

from imagescrollview.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

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.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

Maybe you can make the library work with 3.0, 4.0 and 4.2 ?

from imagescrollview.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

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.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

please remove this one from github, or maintain it!!!!

from imagescrollview.

digitsfan avatar digitsfan commented on July 3, 2024

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 :

  1. Cleaned the build (Command+ Shift + K or/and clean the contents within /Users/yourusername/Library/Developer/Xcode/DerivedData)
  2. Specified the build setting as @Ahayaki mentioned
  3. 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.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

thx, have fixed this once, but would be great if @huynguyencong could update this also.

from imagescrollview.

huynguyencong avatar huynguyencong commented on July 3, 2024

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.

JohnHuang1993 avatar JohnHuang1993 commented on July 3, 2024

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.

huynguyencong avatar huynguyencong commented on July 3, 2024

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.

JohnHuang1993 avatar JohnHuang1993 commented on July 3, 2024

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.

huynguyencong avatar huynguyencong commented on July 3, 2024

Please check if you have updated the latest version of this library

from imagescrollview.

oeresundsgruppen avatar oeresundsgruppen commented on July 3, 2024

still not fixed in your library

from imagescrollview.

huynguyencong avatar huynguyencong commented on July 3, 2024

What Swift version are you using? Please choose the right version corresponding to your Swift version.

from imagescrollview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.