MultipageReviewViewController
public final class MultipageReviewViewController : UIViewController
extension MultipageReviewViewController: UICollectionViewDataSource
extension MultipageReviewViewController: UICollectionViewDelegateFlowLayout
Undocumented
-
The object that acts as the delegate of the multipage review view controller.
Declaration
Swift
public weak var delegate: MultipageReviewViewControllerDelegate?
-
Undocumented
Declaration
Swift
public init(pages: [GiniVisionPage], giniConfiguration: GiniConfiguration)
-
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
override public func loadView()
-
Undocumented
Declaration
Swift
override public func viewDidLoad()
-
Undocumented
Declaration
Swift
public override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override public func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
public override func viewDidLayoutSubviews()
-
Undocumented
Declaration
Swift
public override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
-
Updates the collections with the given pages.
Declaration
Swift
public func updateCollections(with pages: [GiniVisionPage], animated: Bool = false)
Parameters
pages
Pages to be used in the collections.
-
Undocumented
Declaration
Swift
func selectItem(at position: Int, in section: Int = 0, animated: Bool = true)
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, moveItemAt sourceIndexPath: IndexPath, to destinationIndexPath: IndexPath)
-
Undocumented
Declaration
Swift
func multipage(_ reviewCollectionCellPresenter: MultipageReviewCollectionCellPresenter, didUpdate cell: MultipageReviewCollectionCellPresenter.MultipageCollectionCellType, at indexPath: IndexPath)
-
Undocumented
Declaration
Swift
func multipage(_ reviewCollectionCellPresenter: MultipageReviewCollectionCellPresenter, didUpdateElementIn collectionView: UICollectionView, at indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, referenceSizeForFooterInSection section: Int) -> CGSize
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets
-
Undocumented
Declaration
Swift
public func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
func visibleCell(in collectionView: UICollectionView) -> IndexPath?