Latest 0.1.2
Homepage https://github.com/LINAICAI/StatusBarMessage
License MIT
Platforms ios 8.0
Frameworks UIKit, Foundation
Authors

Example

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

How to use

StatusBarMessage.show(with: "submit success!", style: .success, duration: 2.0)

or if you want to show loading statusBar message and it should be dismiss with your custom block when you want to close , you should use follow :

let message = StatusBarMessage.show(with: "loading...", style: .loading)
DispatchQueue.main.asyncAfter(deadline: .now() + 5.0, execute:{
//Do what you want to do
message.dismiss({
StatusBarMessage.show(with: "submit success!", style: .success, duration: 2.0)
})
})

Requirements

iOS8 , Swift4

Installation

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

pod 'StatusBarMessage'

Author

[email protected]

License

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

Latest podspec

{
    "name": "StatusBarMessage",
    "version": "0.1.2",
    "summary": "pull down tips from top of status bar",
    "description": "A very simple tips use to pull down from top of status bar",
    "homepage": "https://github.com/LINAICAI/StatusBarMessage",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "linaicai": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LINAICAI/StatusBarMessage.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "StatusBarMessage/Classes/**/*",
    "frameworks": [
        "UIKit",
        "Foundation"
    ]
}

Pin It on Pinterest

Share This