Skip to content

balitax/NoticeLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published