Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UIPageViewController

Mike Zornek
December 08, 2016

 UIPageViewController

It’s not totally useless.

Code: https://github.com/zorn/PageDemo

Mike Zornek

December 08, 2016
Tweet

More Decks by Mike Zornek

Other Decks in Programming

Transcript

  1. func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? func

    pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? UIPageViewDataSource
  2. func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? func

    pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? viewControllerBefore viewControllerAfter UIPageViewDataSource
  3. UIPageViewDelegate func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) func pageViewController(_

    pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool)