Swiftpack.co - Retro-Cartoons/Tom as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Retro-Cartoons.
Retro-Cartoons/Tom 1.1.0
A smooth, moving equalizer view
⭐️ 17
🕓 2 years ago
iOS
.package(url: "https://github.com/Retro-Cartoons/Tom.git", from: "1.1.0")

Tom

CI Status Version SPM License Platform

Demo

GIF

Requirements

  • iOS 13.0+
  • Xcode 11+
  • Swift 5.1+

Installation

Cocoapods

pod 'Tom'

Swift Package Manager

  1. File > Swift Packages > Add Package Dependency
  2. 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

StoryboardImplementation

Programmatically

TomView(configuration: .init(lineCount: 20, lineColor: .black))

License

Tom is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 17
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.1.0
2 years ago
  • Add storyboard support
  • Fix animationSpeed bug
  • Support Swift Package Manager
  • Fix vertical axis bug

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics