CountrySelectionViewController

public final class CountrySelectionViewController: UIViewController,
    UITableViewDelegate,
    UITableViewDataSource,
    UISearchBarDelegate

A view controller that allows the user to select a country.

Properties

Lifecycle

UITableViewDataSource

  • Asks the data source to return the number of sections in the table view.

    Declaration

    Swift

    public func numberOfSections(in tableView: UITableView) -> Int
  • Undocumented

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath)
  • Tells the data source to return the number of rows in a given section of a table view.

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
  • Asks the data source for a cell to insert in a particular location of the table view.

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
  • Tells the delegate that the specified row is now selected.

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)

UISearchBarDelegate