Code Monkey home page Code Monkey logo

Comments (11)

jegnux avatar jegnux commented on September 15, 2024 1

Ok great. I prepare the 2.0.0 for today then

from rxgesture.

jegnux avatar jegnux commented on September 15, 2024

Hi @freak4pc, thanks for the reminder. I have some minor stuff I'd like to add to the force touch gesture recognizer for this v2.
I'll take care of it before the end of the month if you think it's not too late.

from rxgesture.

freak4pc avatar freak4pc commented on September 15, 2024

Thanks @jegnux -
I think that would be tricky as Xcode 10 GM is already out, and today iOS 12 will be officially rolled out to public users.

What do you think about releasing a release that supports Swift 4.2 today or tomorrow, and then by the end of the month just add the force touch recognizer as a v2.1 ?

from rxgesture.

jegnux avatar jegnux commented on September 15, 2024

What's the issue exactly? Doesn't the pod compile if configured with SWIFT_VERSION set to 3.3?

from rxgesture.

freak4pc avatar freak4pc commented on September 15, 2024

3.3 ? I'm confused :)

If a developer uses Xcode 10 and Swift 4.2 the project won't build without the latest release (unless the developer points directly to the GitHub repo).

from rxgesture.

jegnux avatar jegnux commented on September 15, 2024

Sorry, I mean 3.0. You should be able to comnpile a pod with an older version of swift by adding this to podfile:

post_install do |installer|
    swift_30_targets = [
    'RxGesture'
    ]
    swift_41_Targets = [
    ]

    installer.pods_project.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.2'
    end

    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if swift_33_targets.include? target.name
                config.build_settings['SWIFT_VERSION'] = '3.0'
            elsif swift_41_Targets.include? target.name
                config.build_settings['SWIFT_VERSION'] = '4.1'
            else
                config.build_settings['SWIFT_VERSION'] = '4.2'
            end
        end
    end

end

Doesn't this work?

from rxgesture.

freak4pc avatar freak4pc commented on September 15, 2024

We are not referring to Swift 3.0 at all at this point.
Just 4.0 vs 4.2.

'm not seeing any reason to ask other developer to do this by hand for a specific targets if the master branch already deals with both ?

from rxgesture.

jegnux avatar jegnux commented on September 15, 2024

Yeah yeah absolutely, I just wanted to make sure that they are not totally stuck.

from rxgesture.

freak4pc avatar freak4pc commented on September 15, 2024

Definitely not stuck, they can simply direct to the repo

pod 'RxGesture', :git => 'https://github.com/RxSwiftCommunity/RxGesture', branch: 'master'

from rxgesture.

freak4pc avatar freak4pc commented on September 15, 2024

Appreciate it :) Thanks !

from rxgesture.

freak4pc avatar freak4pc commented on September 15, 2024

Will be resolved by #78. Closing.

from rxgesture.

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.