Notify

// Пример
class ViewController: UIViewController {
 
   @IBAction func didTapOnButton(_ sender: Any) {
        Notify.showSuccsess(title: "Hello Bro\nHow are you!?") {
            self.view.backgroundColor = .systemPink
        }
    }

}

Notify.showSuccsess(title: "Сообщение")
Notify.showError(title: "Сообщение")
Notify.showWith(title: "Сообщение", image: nil, type: .gray, duration: 3, haptic: .success) {
    //Ваш код
}
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

GitHub

View Github