Simple and clean snackbar with progress bar.
Install Cocoapods
$ gem install cocoapodsAdd ProgressSnackBar in your Podfile.
use_frameworks!
pod 'ProgressSnackBar'Install the pod
$ pod installCopy ProgressSnackBar folder to your project. Enjoy.
- 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 = .topThat's it!
ProgressSnackBar is available under the MIT license. See the LICENSE file for details.
