Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
UIPageViewController
Search
Mike Zornek
December 08, 2016
Programming
0
110
UIPageViewController
It’s not totally useless.
Code:
https://github.com/zorn/PageDemo
Mike Zornek
December 08, 2016
Tweet
Share
More Decks by Mike Zornek
See All by Mike Zornek
An Introduction to Elixir
zorn
0
240
Working With Time Zones in an Elixir Phoenix App
zorn
1
1.2k
Designing a Modern Swift Network Stack
zorn
1
850
Overcoming the stress surrounding Code Review, for the betterment of your project and career
zorn
0
150
Starting, Running and Growing a Successful Developer Meetup
zorn
0
51
UIKit it Dead, Long Live UIKit!
zorn
1
120
Swift Code Patterns From the Ranch
zorn
1
190
Swift Code Patterns
zorn
1
220
Consuming JSON in Swift
zorn
0
150
Other Decks in Programming
See All in Programming
RubyLSPのマルチバイト文字対応
notfounds
0
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
630
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
Better Code Design in PHP
afilina
PRO
0
130
Click-free releases & the making of a CLI app
oheyadam
2
120
Outline View in SwiftUI
1024jp
1
330
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
690
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Unsuck your backbone
ammeep
668
57k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Designing for Performance
lara
604
68k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Transcript
UIPageViewController It’s not totally useless.
What is it?
None
None
None
None
None
My History
None
None
How does it work?
UITableView DataSource Delegate
UIPageView Controller DataSource Delegate ?
class UIPageViewController : UIViewController { public init(transitionStyle style: UIPageViewControllerTransitionStyle, navigationOrientation:
UIPageViewControllerNavigationOrientation, options: [String : Any]? = nil) }
func setViewControllers(_ viewControllers: [UIViewController]?, direction: UIPageViewControllerNavigationDirection, animated: Bool, completion: ((Bool)
-> Swift.Void)? = nil)
func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? func
pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? UIPageViewDataSource
func pageViewController(_ pageViewController: UIPageViewController, viewControllerBefore viewController: UIViewController) -> UIViewController? func
pageViewController(_ pageViewController: UIPageViewController, viewControllerAfter viewController: UIViewController) -> UIViewController? viewControllerBefore viewControllerAfter UIPageViewDataSource
UIPageViewDataSource func presentationCount(for pageViewController: UIPageViewController) -> Int func presentationIndex(for pageViewController:
UIPageViewController) -> Int
UIPageViewDelegate func pageViewController(_ pageViewController: UIPageViewController, willTransitionTo pendingViewControllers: [UIViewController]) func pageViewController(_
pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool)
Performance / Bugs
Final Thoughts