Skip to content

KopievDev/Notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Notify

// Example
class ViewController: UIViewController {
 
   @IBAction func didTapOnButton(_ sender: Any) {
        Notify.showSuccsess(title: "Hello Bro\nHow are you!?") {[weak self] in
            self?.view.backgroundColor = .systemPink
        }
    }

}
Notify.showSuccsess(title: "Message")
Notify.showError(title: "Message")
Notify.showWith(title: "Message", image: nil, type: .gray, duration: 3, haptic: .success) {
    //Comletion handler 
}
showSuccsess showError
Simulator-Screen-Recording-iPhone-12-Pro-Max-2021-11-07-at-13 22 32 Simulator-Screen-Recording-iPhone-12-Pro-Max-2021-11-07-at-13 49 35

About

Custom notification view

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages