Latest 0.0.2
Homepage https://github.com/BambooCode/ProgressSnackBar
License MIT
Platforms ios 9.0, requires ARC
Authors

Simple and clean snackbar with progress bar.

Demo

Example App

Installation

Cocoapods

Install Cocoapods

$ gem install cocoapods

Add ProgressSnackBar in your Podfile.

use_frameworks!

pod 'ProgressSnackBar'

Install the pod

$ pod install

Manually

Copy ProgressSnackBar folder to your project. Enjoy.

Usage

Code

  • Create a new ProgressSnackBar

let psb = ProgressSnackBar()
psb.showWithAction("Snackbar with progress bar",
actionTitle: "Close",
duration: 8,
action: {
print("Button is push")
})

- Set the values as you like
```swift
psb.progressHeight = 30
psb.backgroundColor = .darkGray
psb.progressColor =  .lightGray
psb.buttonColor = .red
psb.textColor = .red
psb.position = .top

That’s it!

LICENSE

ProgressSnackBar is available under the MIT license. See the LICENSE file for details.

Latest podspec

{
    "name": "ProgressSnackBar",
    "platforms": {
        "ios": "9.0"
    },
    "summary": "Simple and clean snackbar with progress bar.",
    "requires_arc": true,
    "version": "0.0.2",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jaime Frutos": "[email protected]"
    },
    "homepage": "https://github.com/BambooCode/ProgressSnackBar",
    "source": {
        "git": "https://github.com/BambooCode/ProgressSnackBar.git",
        "tag": "0.0.2"
    },
    "source_files": "ProgressSnackBar/*.{swift}"
}

Pin It on Pinterest

Share This