https://github.com/iamshezad/shsnackbarview
SHSnackBarView is a simple library for snackbar type alert in swift.
https://github.com/iamshezad/shsnackbarview
alert popup snackbar
Last synced: 2 months ago
JSON representation
SHSnackBarView is a simple library for snackbar type alert in swift.
- Host: GitHub
- URL: https://github.com/iamshezad/shsnackbarview
- Owner: iamshezad
- License: mit
- Created: 2017-08-22T06:12:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-25T05:47:12.000Z (almost 7 years ago)
- Last Synced: 2025-03-24T06:04:32.258Z (3 months ago)
- Topics: alert, popup, snackbar
- Language: Swift
- Homepage:
- Size: 674 KB
- Stars: 22
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SHSnackBarView
[](https://cocoapods.org/pods/SHSnackBarView)
[](https://cocoapods.org/pods/SHSnackBarView)
[](https://developer.apple.com/swift/)
[](LICENSE)
[](https://cocoapods.org/pods/SHSnackBarView)
## Installation
- Using cocoapods
pod "SHSnackBarView"
- Or drag and drop SHSnackBarView.xcodeproj to your project## Usage
1.import SHSnackBarView
2.create a object of snackbar
Eg: let snackbarView = snackBar()
3.use show function to show the snackbar view
Eg: snackbarView.showSnackBar(view: self.view, bgColor: UIColor.gary, text: "This is a snackbar view", textColor: UIColor.white, interval: 2)
## Example
Download and checkout example project