Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

NoticeLoader

CI Status Version License Platform

#Overview

Notice loader is subclass of UIViewController, written in Swift, to create any loader or notice alert.

ezgif com-video-to-gif

Example

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

Requirements

  • iOS8

Installation

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

pod "NoticeLoader"

Usage

import NoticeLoader

var noticeLoader = NoticeLoader()

noticeLoader.pleaseWait()
noticeLoader.noticeSuccess("Success", autoClear: true, autoClearTime: 2)
noticeLoader.noticeInfo("Information", autoClear: true, autoClearTime: 2)
noticeLoader.noticeError("Error", autoClear: true, autoClearTime: 2)
noticeLoader.noticeTop("THIS IS NOTICE ON TOP", autoClear: true, autoClearTime: 5)

to clear all notice, use
noticeLoader.clearAllNotice()

Author

balitax, cahyo.mamen@gmail.com

License

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

About

Simple notice alert and loader for your view controller. Inspired From https://github.com/johnlui/SwiftNotice

Resources

License

Packages

No packages published