GlitchLabel 用于给文字添加闪烁效果,效果图如下:
开发环境:
-
iOS 7.0+
-
Swift 2.2
-
Xcode 7
示例代码:https://www.yuedecaifu.com
1
2
3
4
5
6
7
8
|
import PackageDescription let package = Package( name: "App" , dependencies: [ .Package(url: "https://github.com/kciter/GlitchLabel.git" , majorVersion: 1) ] ) |