Skip to content

BambooCode/ProgressSnackBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProgressSnackBar

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
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.

About

Simple and clean snackbar with progress bar.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors