BSNotification 3.0.1

BSNotification 3.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Bobby Stenly Irawan.



  • By
  • Bobby Stenly

BSNotification

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

BSNotification is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "BSNotification"

How to Use

To use this library, you need to add import BSNotification in the top of your view controller. Then you can show a pop up notification by running the following code :

BSNotification.show("Hello World!", viewController: self)

There are 2 options for showing a pop up notification. First, you can show it at the bottom (default), or you can show it at the top. If you want to show it at the top of your view controller, you can call the show function like bellow :

BSNotification.show("Hello World!", viewController: self, position: .Top)

Author

Bobby Stenly, [email protected]

License

BSNotification is available under the MIT license. See the LICENSE file for more info.