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
130
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
270
Working With Time Zones in an Elixir Phoenix App
zorn
1
1.3k
Designing a Modern Swift Network Stack
zorn
1
910
Overcoming the stress surrounding Code Review, for the betterment of your project and career
zorn
0
200
Starting, Running and Growing a Successful Developer Meetup
zorn
0
74
UIKit it Dead, Long Live UIKit!
zorn
1
150
Swift Code Patterns From the Ranch
zorn
1
210
Swift Code Patterns
zorn
1
250
Consuming JSON in Swift
zorn
0
170
Other Decks in Programming
See All in Programming
RecSys2024 参加報告
unonao
1
130
Lambdaの監視、できてますか?Datadogを用いてLambdaを見守ろう
nealle
2
870
kintone開発を効率化するためにチームで試した施策とその結果を大放出!
oguemon
1
420
推しメソッドsource_locationのしくみを探る - はじめてRubyのコードを読んでみた
nobu09
2
380
Rubyと自由とAIと
yotii23
6
2k
PHPのバージョンアップ時にも役立ったAST
matsuo_atsushi
0
250
「その気にさせる」エンジニアが 最強のリーダーになる理由
gimupop
2
280
Swift Testingのモチベを上げたい
stoticdev
2
230
Jakarta EE meets AI
ivargrimstad
0
1k
Learning Kotlin with detekt
inouehi
1
240
Devin入門 〜月500ドルから始まるAIチームメイトとの開発生活〜 / Introduction Devin 〜Development With AI Teammates〜
rkaga
5
1.8k
Accelerate your key learnings of scaling modern Android apps
aldefy
0
100
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Done Done
chrislema
182
16k
Faster Mobile Websites
deanohume
306
31k
The Invisible Side of Design
smashingmag
299
50k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Code Reviewing Like a Champion
maltzj
521
39k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
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