Feature/invitation
How to use:
let dialog = DialogViewController.present(on: self, with: .myOptionLayout)
dialog?.ctaAction = {
// Action in cta Tapped
// Implement Action here
}
dialog?.additionalAction = {
// Action on additional Action
// Implement Action here
}
you can replace .myOptionLayout
with your custom option Layout. Just add your describing case
in DialogOption
and implement the missing functions.
By adding your case in all switches. The view should layout itself.