Tom
Tom copied to clipboard
A smooth, moving equalizer view
Tom
- Demo
- Requirements
-
Installation
- Cocoapods
- SPM
-
Usage
- XIB
- Programmatically
- License
Demo
Requirements
- iOS 13.0+
- Xcode 11+
- Swift 5.1+
Installation
Cocoapods
pod 'Tom'
Swift Package Manager
- 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"))
]
Usage
Properties
lineCount: Int = 8
lineColor: UIColor = .black
lineSpacing: CGFloat = 8
minLineThickness: CGFloat = 8
animationSpeed: Double = 0.25
Vertical: Bool = false
XIB
Programmatically
TomView(configuration: .init(lineCount: 20, lineColor: .black))
License
Tom is available under the MIT license. See the LICENSE file for more info.