A small UILabel library to enable Snapchat-like top screen alerts.
Available in CocoaPods
pod 'OverlayAlert'
To integrate OverlayAlert into your Xcode project using Carthage, specify it in your Cartfile
:
github "rodrigoalvesvieira/OverlayAlert"
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)
© 2016 Rodrigo Alves Vieira. All Rights Reserved.