DynamicMaskSegmentSwitch Save

A segment switcher with dynamic text mask effect

Project README

DynamicMaskSegmentSwitch

A segment switcher with dynamic text mask effect

##Preview:

Indicator will bounce when progress less than 0 or larger than 1.

##Simple Usage:

You can create DynamicMaskSegmentSwitch by xib or programmatically.Then just fill the property named configure.

    let configure = DynamicMaskSegmentSwitchConfigure(highlightedColor: .orangeColor(), normalColor: .whiteColor(), items: ["首页","消息","发现","个人"])
    switcher.configure = configure

That's all!

You can tap the specific item,the indicator will move to target item.

You can also change the property named progress,the indicator will also move with progress.

Open Source Agenda is not affiliated with "DynamicMaskSegmentSwitch" Project. README Source: KittenYang/DynamicMaskSegmentSwitch
Stars
309
Open Issues
1
Last Commit
7 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating