UserCountsPagingVC
final class UserCountsPagingVC : FixedPagingViewController, UserCountsPageDataSource
extension UserCountsPagingVC: Exposing
extension UserCountsPagingVC: CollectionCellExposing
Displays user visit tabs
-
Injected dependencies
-
Scorecard to display
Declaration
Swift
var scorecard: Scorecard?
-
Content state to display
Declaration
Swift
var contentState: ContentState
-
Provide pages container
Declaration
Swift
static func profile(model: Model) -> UserCountsPagingVC
Parameters
model
Model to populate pages
Return Value
UserCountsPagingVC
-
Construction by injection
Declaration
Swift
init(model: Model, viewControllers: [UserCountsPageVC])
Parameters
model
Injected model
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
-
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