Skip to content

xuyunan/YNAlertView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YNAlertView

image

最近不太忙, 看看swift, 写个alertview.

Usage

let alertView = YNAlertView(title: "网络错误", message: "未能连接服务器")
alertView.addButton("取消") {
    println("取消...")
}
alertView.addButton("确定") {
    println("确定...")
}
alertView.show()

About

custom alertview in swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages