sasojadrovski / SJFluidSegmentedControl

A segmented control with custom appearance and interactive animations. Written in Swift 3.0.
MIT License
974 stars 76 forks source link

Swift4 #16

Open Jinkeycode opened 6 years ago

Jinkeycode commented 6 years ago

Add supported to Swift4

lucaventura commented 6 years ago

There is a pull request for this which hasn't been accepted yet but only a few things needed changed syntax wise in the SJFluidSegmentedControl.swift file. Here is the updated Swift 4 project until the pull request is accepted. Alternatively, in your podfile you can add this to pull from my forked repo with the updates:

pod 'SJFluidSegmentedControl', :git => 'https://github.com/adornoventura/SJFluidSegmentedControl.git'

SJFluidSegmentedControl.zip

ArturGasparyan commented 5 years ago

Dear creator, or @lucaventura, could you kindly add support for Swift 4.2? I see errors, like 'bringSubview(toFront:)' has been renamed to 'bringSubviewToFront(_:)'

Thank you very much!