Skip to content

Swift Action Sheet by using power of protocol in swift

Notifications You must be signed in to change notification settings

dsngeu/SwiftActionSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SwiftActionSheet

Swift Action Sheet by using power of protocol in swift

class ViewController: UIViewController, ActionSheetPresentable {

}

Now you can call by using following ways:

     showActionSheet(title: "Action Sheet", message: "Power of swift protocol", 
     options: ["type1", "type2", "type3"]) { (index, option) in
        print("\(index)=\(option)")
    }

    showMessage(message: "Hey how are you !") {
        print("closed")
    }

About

Swift Action Sheet by using power of protocol in swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages