LocationPagingVC
final class LocationPagingVC : FixedPagingViewController
extension LocationPagingVC: TitleChangeDelegate
extension LocationPagingVC: Exposing
extension LocationPagingVC: CollectionCellExposing
Displays location info tabs
-
Provide pages container
Declaration
Swift
static func profile(model: Mappable) -> LocationPagingVC
Parameters
model
Model to populate pages
Return Value
LocationPagingVC
-
Construction by injection
Declaration
Swift
override init(viewControllers: [UIViewController])
Parameters
viewControllers
Controllers
-
Provide cell
Declaration
Swift
override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
Parameters
collectionView
Collection
indexPath
Index path
Return Value
Exposed cell
-
Notify of title change
Declaration
Swift
func changed(title: String)
Parameters
title
New title
-
Expose controls to UI tests
Declaration
Swift
func expose()
-
Expose cell to UI tests
Declaration
Swift
func expose(view: UICollectionView, path: IndexPath, cell: UICollectionViewCell)
Parameters
view
Collection
path
Index path
cell
Cell