- iOS 13.0+
- Xcode 11+
- Swift 5.1+
pod 'Tom'
- File > Swift Packages > Add Package Dependency
- Add
https://github.com/Retro-Cartoons/Tom.git
OR
Update dependencies
in Package.swift
dependencies: [
.package(url: "https://github.com/Retro-Cartoons/Tom.git", .upToNextMajor(from: "1.0.0"))
]
Properties
lineCount: Int = 8
lineColor: UIColor = .black
lineSpacing: CGFloat = 8
minLineThickness: CGFloat = 8
animationSpeed: Double = 0.25
Vertical: Bool = false
TomView(configuration: .init(lineCount: 20, lineColor: .black))
Tom is available under the MIT license. See the LICENSE file for more info.