NearbyVC

final class NearbyVC : UITableViewController
extension NearbyVC: Exposing
extension NearbyVC: TableCellExposing
extension NearbyVC: InterfaceBuildable
extension NearbyVC: Injectable

Lists POI by distance from map center

UITableViewControllerDataSource

  • Create table cell

    Declaration

    Swift

    override func tableView(_ tableView: UITableView,
                            cellForRowAt indexPath: IndexPath) -> UITableViewCell

    Parameters

    tableView

    UITableView

    indexPath

    Index Path

    Return Value

    UITableViewCell

Exposing

TableCellExposing

  • Expose cell to UI tests

    Declaration

    Swift

    func expose(view: UITableView,
                path: IndexPath,
                cell: UITableViewCell)

    Parameters

    view

    Collection

    path

    Index path

    cell

    Cell

InterfaceBuildable

Injectable