GUI library for displaying various popups (HUD), written in pure Swift.
Swift
Latest commit 8e0d503 Nov 25, 2016 @johnlui committed on GitHub Merge pull request #43 from shiweifu/swift3
简单增加动画效果
Permalink
Failed to load latest commit information.
SwiftNoticeExample fix iOS 8 Sep 27, 2016
LICENSE everything is done Sep 21, 2016
README.md modify README Sep 21, 2016
SwiftNotice.gif 修正 gif 无法正常显示的问题 Jun 27, 2016
SwiftNotice.swift 简单增加动画效果 Nov 24, 2016

README.md

SwiftNotice

SwiftNotice is a GUI library for displaying various popups (HUD) written in pure Swift, fits any scrollview.

Features

SwiftNotice gif

Pretty easy to use

In any subclass of UIView, UIScrollView, UIViewController, UITableViewController, UITableViewCell:

self.pleaseWait()

self.noticeTop("OK!")

self.noticeSuccess("Success!")
self.noticeError("Error!")
self.noticeInfo("Info")

self.noticeOnlyText("Only Text")

self.clearAllNotice() // clear

Read the documentation for more information.

Installation

Just clone and add SwiftNotice.swift to your project.

Requirements

  • iOS 7.0+
  • Xcode 8 (Swift 3) in current swift3 branch.
  • Xcode 7 (Swift 2) in master branch.
  • Xcode 6.3 (Swift 1.2) in v3.1

Contribution

You are welcome to fork and submit pull requests.

License

SwiftNotice is open-sourced software licensed under the MIT license.