Swiftpack.co -  Retro-Cartoons/Tom as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Retro-Cartoons/Tom
A smooth, moving equalizer view
.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: 9
Last commit: 3 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

1.1.0
3 weeks 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