NKAlert is a small UI framework to show message in custom alerts, is a alternative to native UIAlert of swift.
To integrate NKAlert into your Xcode project using CocoaPods, specify it in your Podfile and run pod install.
target 'MyApp' do
pod 'NKAlert', '~> 0.0'
end
Download and drop /NKAlert
folder in your project.
let alert = NKAlert(title: "Success Example", description: "This is a example with NKAlert", style: .SUCCESS)
alert.setButtons(titleOk: "OK")
alert.show(animated: true, completion: {})
NKAlert is available under the MIT license. See the LICENSE file for more info.