thinkclay / FlourishUI

A highly configurable and out-of-the-box-pretty UI library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Completion Handler

Wilsonilo opened this issue · comments

Is there any Callback when the user closes the modal?
Thanks!

Yep https://github.com/thinkclay/FlourishUI/blob/master/Pod/Classes/Modal.swift#L124 you set the selector/action on the modal button for any callbacks you need. Line 229 is what calls the action. You could add a callback to the close() method on line 293 as well if you'd want to fork and add that in. Always open to having documentation pages or readme examples too if you'd want to contribute.

Cheers!