Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

rodrigoalvesvieira/OverlayAlert

Repository files navigation

OverlayAlert

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

OverlayAlertSample

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.