Skip to content

KittenYang/DynamicMaskSegmentSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1332325 · Sep 18, 2016

History

19 Commits
Sep 18, 2016
Sep 18, 2016
May 12, 2016
May 12, 2016
May 12, 2016
May 12, 2016
May 14, 2016
May 14, 2016
May 12, 2016

Repository files navigation

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.

About

A segment switcher with dynamic text mask effect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages