Skip to content

roycehe/AlertController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##简单封装系统AlertController 一句话自由组合

集成
pod 'RAlert'

用法
 AlertBuilder(context: self).title("提示").message("确定删除么").cancelTitle("取消").confirmTitle("确定").cancellAction ({ (UIAlertAction) in
            print("取消")
        }).confirmAction({ (UIAlertAction) in
             print("确定")
        }).build().showController()
        
         AlertBuilder(context: self).title("提示").message("已经删除么").cancelTitle("知道了").cancellAction ({ (UIAlertAction) in
            print("取消")
        }).build().showController()

效果

About

系统AlertController封装,高度自由

Resources

Stars

Watchers

Forks

Packages

No packages published