Latest 0.0.6
Homepage https://github.com/rodrigoalvesvieira/OverlayAlert
License MIT
Platforms ios 9.1, requires ARC
Authors

A small UILabel library to enable Snapchat-like top screen alerts.

Installation

Available in CocoaPods

pod 'OverlayAlert'

To integrate OverlayAlert into your Xcode project using Carthage, specify it in your Cartfile:

github "rodrigoalvesvieira/OverlayAlert"

Usage

Simply create a new OverlayAlert object and add it to an existing UIVIew object of your choice:


var successMessage: String?
successMessage = "Successfully logged in!"

let overlayMessage = OverlayAlert(text: successMessage!)
self.view.addSubview(overlayMessage)
Custom Appearance
Custom Duration

Copyright

© 2016 Rodrigo Alves Vieira. All Rights Reserved.

Latest podspec

{
    "name": "OverlayAlert",
    "version": "0.0.6",
    "summary": "Sample framework from blog post, not for real world use.",
    "homepage": "https://github.com/rodrigoalvesvieira/OverlayAlert",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Rodrigo Alves Vieira": "[email protected]"
    },
    "social_media_url": "http://github.com/rodrigoalvesvieira",
    "platforms": {
        "ios": "9.1"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/rodrigoalvesvieira/OverlayAlert.git",
        "tag": "v0.0.6",
        "submodules": true
    },
    "source_files": "OverlayAlert/**/*.{h,swift}"
}

Pin It on Pinterest

Share This