Skip to content
No description, website, or topics provided.
Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.swiftpm/xcode
BalloonSlider.xcodeproj
BalloonSlider
BalloonSliderTests
Fonts/Arch
Source
.DS_Store
LICENSE.md
Package.swift
README.md
screenCapture.gif
screenCapture.m4v

README.md

BalloonSlider

UISlier with Animated Balloon representing slider value.

BalloonSlider

Installation

Swift Package Manager

You can use The Swift Package Manager to install Dequer by adding the dequer package description to your Package.swift file:

// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "YOUR_PROJECT_NAME",
    dependencies: [
        .package(url: "https://github.com/mohamadrezakoohkan/BalloonSlider.git", from: "1.0.0"),
    ]
)

Then run swift build in Terminal to build Dequer.

Manually

If you prefer not to use any of the aforementioned dependency managers, you can use source code manually. get latest relase from Releases.

Usage

Example project

Clone the project and use example project.

Example of how to implement BalloonSlider in your project.

If you added project by Swift Package Manager then you need to import BalloonSlider.

import UIKit

class ViewController: UIViewController {

  lazy var balloonSliderView: BalloonSliderView = {
      let frame = BalloonSliderView.commonFrame(xPadding: 40, on: self.view))
      BalloonSliderView(frame: frame)
  }()
  
  override func viewDidLoad() {
      super.viewDidLoad()
      self.view.addSubview(self.balloonSliderView)
  }
  
}

Contact

Follow and contact me on Instagram, Github, LinkedIn and stack overflow. If you find an issue open a ticket. You can send me email at mohamad_koohkan@icloud.com .

License

BalloonSlider is released under the MIT license.

You can’t perform that action at this time.