Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

Swift 4 Version? #368

Open
ThreadPitt opened this issue Oct 28, 2017 · 10 comments
Open

Swift 4 Version? #368

ThreadPitt opened this issue Oct 28, 2017 · 10 comments

Comments

@ThreadPitt
Copy link

Hi,

great lib, thanks for your effort! Is there a Swift 4 version planned?

Cheers!

@ruoyi
Copy link

ruoyi commented Oct 30, 2017

great lib, each time you update the podfile you want to change the compiled version of swift,Hope to support swift4

Cheers!

@ankitaporwal
Copy link

any plans for swift 4 support ?

@ReverseScale
Copy link

Actually I compiled using Swift 4.0, there is no serious mistakes, can run simple change

@ThreadPitt
Copy link
Author

Yes, works for me too!

@mingmingsuper
Copy link

I also need for swift4 support!

@mingmingsuper
Copy link

When my project convert to swift4,the PagingMenuController lib must run in swift 3.2,it can't run in swift4!

@pirtil
Copy link

pirtil commented Jan 13, 2018

There is pull request for Swift 4 available, any plans to merge that?
#366

@termic
Copy link

termic commented Jan 15, 2018

Doesn't support safe area in swift4, is there any one who solved this?

@olgusirman
Copy link

@termic Have you tried this for IOS 11? Maybe It can help

collectionView.contentInsetAdjustmentBehavior = .never

@ruoyi
Copy link

ruoyi commented Feb 28, 2018

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if ['PagingMenuController'].include? target.name
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '3.2'
        config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
      end
      else
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.0'
        config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
      end
    end
  end
end

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants