
paper-switch
Ramotion
:octocat: 🎚 RAMPaperSwitch is a Swift material design UI module which paints over the parent view when the switch is turned on. iOS library by @Ramotion
AI 简介
RAMPaperSwitch 是一个基于 Swift 的 Material Design UI 组件,当开关打开时会在父视图上绘制颜色。其核心功能是通过设置 `onTintColor` 属性来自动覆盖父视图的颜色,并且支持自定义动画时长。该组件作为 UISwitch 的替代品,适用于需要增强用户体验和视觉效果的 iOS 应用场景中,如个性化设置界面或控制面板等。此外,它还允许开发者为开关附近的其他视图添加动画效果,进一步提升界面的交互性和美观度。
Swift
MIT License2.9k
Stars
223
Forks
75
Watchers
2
Issues
Star 增长
今日0
近 7 天0
近 30 天0
综合评分59.05
默认分支master