sasojadrovski / SJFluidSegmentedControl

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

What can I use to change container views? #12

Open SamaritanMachine opened 6 years ago

SamaritanMachine commented 6 years ago

I have 3 container view and I want to connect these and SJFluidSegmentedControl. I've tried this
if segmentedControl.currentSegment == 0 { firstContainerView.alpha = 1 secondContainerView.alpha = 2 // bla bla bla } But it didn't work. Can you suggest me a place and method of use ?

ZahraAsgharzadeh commented 6 years ago

I have the same problem too . If you've found a way , answer me please 👩🏻‍💻