Skip to content

Instantly share code, notes, and snippets.

@IsaAliev
Created October 10, 2018 08:37
Show Gist options
  • Save IsaAliev/1775a0ea20cea3a146e36524f0771747 to your computer and use it in GitHub Desktop.
Save IsaAliev/1775a0ea20cea3a146e36524f0771747 to your computer and use it in GitHub Desktop.
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