MBCountryTableViewControllerDelegate
@objc
public protocol MBCountryTableViewControllerDelegate : AnyObject
Protocol that defines the events that can be received from MBCountryTableViewController
.
-
Method notifies the delegate of the country that was selected through
MBCountryTableViewController
Declaration
Swift
func didSelectCountry(country: MBCountry)
Parameters
country
MBCountry
instance that represents the selected country -
Method request the delegate to provide the last selected country to
MBCountryTableViewController
Declaration
Swift
func lastSelectedCountry() -> MBCountry?
Return Value
MBCountry
instance that represents the last country that was selected.