Created
October 10, 2018 08:37
-
-
Save IsaAliev/1775a0ea20cea3a146e36524f0771747 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
struct AlertModel { | |
struct ActionModel { | |
var title: String? | |
var style: UIAlertAction.Style | |
var handler: ((UIAlertAction) -> ())? | |
} | |
var actionModels = [ActionModel]() | |
var title: String? | |
var message: String? | |
var prefferedStyle: UIAlertController.Style | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment