Skip to content
Projekte

KittenYang/DynamicMaskSegmentSwitch

Auf GitHub ansehen

Über uns

Ein Segmentumschalter mit dynamischem Textmaskeneffekt.

Weitere Projekte

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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.

Ähnliche Projekte entdecken

Wird geladen…