MBCountryTableViewController
@objc
public class MBCountryTableViewController : UIViewController
Class that presents a table view containing all the countries allowed by
MBCountryFilter
used.
-
Delegate used to notify the that the country did change
Declaration
Swift
@objc public weak var delegate: MBCountryTableViewControllerDelegate?
-
Declaration
Swift
public override var preferredStatusBarStyle: UIStatusBarStyle { get }
-
Initliazer that create the instance of
MBCountryTableViewController
from the storyboard.Declaration
Swift
@objc public class func initFromStoryboard(delegate: MBCountryTableViewControllerDelegate, onDismissAction: @escaping () -> Void) -> UINavigationController
Parameters
delegate
MBCountryTableViewControllerDelegate
instance
-
Declaration
Swift
override public func viewDidLoad()
-
Declaration
Swift
override public func viewWillAppear(_ animated: Bool)
-
Declaration
Swift
public func numberOfSections(in _: UITableView) -> Int
-
Declaration
Swift
public func tableView(_: UITableView, numberOfRowsInSection section: Int) -> Int
-
Declaration
Swift
public func tableView(_: UITableView, titleForHeaderInSection section: Int) -> String?
-
Declaration
Swift
public func sectionIndexTitles(for _: UITableView) -> [String]?
-
Declaration
Swift
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Declaration
Swift
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
-
Declaration
Swift
public func tableView(_: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath)
-
Declaration
Swift
public func tableView(_: UITableView, willDisplayHeaderView view: UIView, forSection _: Int)
-
Declaration
Swift
public func updateSearchResults(for searchController: UISearchController)
-
Declaration
Swift
public func searchBarSearchButtonClicked(_ searchBar: UISearchBar)
-
Declaration
Swift
public func searchBar(_ searchBar: UISearchBar, textDidChange searchText: String)