An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# SHSnackBarView

[![Version](https://img.shields.io/cocoapods/v/SHSnackBarView.svg?style=flat)](https://cocoapods.org/pods/SHSnackBarView)
[![Cocoapods](http://img.shields.io/badge/Cocoapods-available-green.svg?style=flat)](https://cocoapods.org/pods/SHSnackBarView)
[![Swift 4.0](https://img.shields.io/badge/Swift-4-orange.svg?style=flat)](https://developer.apple.com/swift/)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-ios-blue.svg?style=flat)](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