项目作者: iamshezad

项目描述 :
SHSnackBarView is a simple library for snackbar type alert in swift.
高级语言: Swift
项目地址: git://github.com/iamshezad/SHSnackBarView.git
创建时间: 2017-08-22T06:12:50Z
项目社区:https://github.com/iamshezad/SHSnackBarView

开源协议:MIT License

下载


SHSnackBarView

Version
Cocoapods
Swift 4.0
License
Platform

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