ExpandingViewController

public class ExpandingViewController: UIViewController

UIViewController with UICollectionView with custom transition method

  • The default size to use for cells.

    Declaration

    Swift

    public var itemSize = CGSize(width: 256, height: 335)
  • The collection view object managed by this view controller.

    Declaration

    Swift

    public var collectionView: UICollectionView?
  • Index of current cell

    Declaration

    Swift

    public var currentIndex: Int
  • Pushes a view controller onto the receiver’s stack and updates the display with custom animation.

    Declaration

    Swift

    func pushToViewController(viewController: ExpandingTableViewController)

    Parameters

    viewController

    The table view controller to push onto the stack.