- Notifications
You must be signed in to change notification settings - Fork2
Segment control like iOS13 photo app
License
NotificationsYou must be signed in to change notification settings
catelina777/FloatingSegmentedControl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Provide segment control like iOS13 photo app
[FloatingSwitch]https://github.com/usagimaru/FloatingSwitch
| light | dark |
|---|---|
![]() | ![]() |
github "catelina777/FloatingSegmentedControl"- Install a custom view on Interface Builder.
- Important: Assign the custom view class as
FloatingSegmentedControllikethis. - Set an appropriate layouts. In the default implementation of FloatingSegment, the width follows the intrinsic size.
- Set segments with
setSegments (with:)method. - Set
targetandactionwith addTarget method. Then you can catch control events when users switch segments.
SeeViewController.swift for usage.
About
Segment control like iOS13 photo app
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.

