Latest 0.1.1
Homepage https://github.com/shamshiranees/SANotificationViews
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Swift 3.0+
Xcode 8.0+

Installation

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

pod 'SANotificationViews'

or add SANotificationViews.swift file into your project directory.

Usage

SAStatusView

ScreenShot

SANotificationView.showSAStatusBarBanner(message: "This is status bar banner...", backgroundColor: .black, textColor: .white, showTime: 2)

SATinybanner

ScreenShot

SANotificationView.showSATinyBanner(message: "Please wait while loading...😊", backgroundColor: .black, textColor: .white, showTime: 2)

SABanner

ScreenShot

SANotificationView.showSABanner(title: "V.S Achuthananthan", message: "V.S Achuthananthan just liked the your post you shared", image: #imageLiteral(resourceName: "sampleImage"),  showTime: 3)

//show SABanner with background color and text color
SANotificationView.showSABanner(title: "V.S Achuthananthan", message: "V.S Achuthananthan just liked the your post you shared", textColor: .black, image: #imageLiteral(resourceName: "sampleImage"), backgroundColor: .white, showTime: 3)

SAPermanentView

//Show view
 SANotificationView.showSATinyBanner(message: "Permanent Banner...😊", backgroundColor: .black, textColor: .white)

//Remove view
SANotificationView.removeSATinyBanner()

Author

[email protected]

License

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

Latest podspec

{
    "name": "SANotificationViews",
    "version": "0.1.1",
    "summary": "A custom notification View.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/shamshiranees/SANotificationViews",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/shamshiranees/SANotificationViews.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SANotificationViews/Classes/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This