let alert = GSAlert()
alert.set(
title: Place NSAttributedString Here,
messages: [
(Place UIImage Here, Place NSAttributedString Here),
(Place UIImage Here, Place NSAttributedString Here)
],
alertButtons: [
(Place NSAttributedString Here, {
print("OKAY Taped")
}),
(Place NSAttributedString Here, Perform Some Action Or simply pass nil),
])
present(alert, animated: true, completion: nil)
I tried to build an easy to use API, but I'm sure there are ways of improving and adding more features, If you think that we can do the GSNativeAlertExample more powerful please contribute with this project.