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
840
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
140
Other Decks in Programming
See All in Programming
Kotlin Multiplatform at Stable and Beyond (Kotlin Vienna, October 2024)
zsmb
2
360
Introduce dRuby
ledsun
0
110
型付きで行うVSCode拡張機能開発 / VSCode Meetup #31
mazrean
0
240
DevFest Android in Korea 2024 - 안드로이드의 문단속 : 앱을 지키는 암호화 이야기
mdb1217
1
160
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
390
CDKを活用した 大規模コンテナ移行 プロジェクトの紹介
yoyoyopg
0
310
App Router 悲喜交々
quramy
7
380
pytest プラグインを開発して DRY に自動テストを書こう
inuatsu
2
260
(Deep|Web) Link support with expo-router
mrtry
0
170
フロントエンドの現在地とこれから
koba04
10
4.5k
AWS CDKを用いたセキュアなCI/CDパイプラインの構築 / Build a secure CI/CD pipeline using AWS CDK
seike460
PRO
3
610
Новый уровень ML-персонализации Lamoda: Как мы усилили ее в каталоге и перенесли на другие продукты
lamodatech
0
160
Featured
See All Featured
Teambox: Starting and Learning
jrom
132
8.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
26
4.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
What's in a price? How to price your products and services
michaelherold
243
11k
Optimizing for Happiness
mojombo
375
69k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
41
9.2k
Design by the Numbers
sachag
278
19k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
327
21k
Facilitating Awesome Meetings
lara
49
6k
For a Future-Friendly Web
brad_frost
174
9.3k
The Invisible Side of Design
smashingmag
297
50k
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