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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Mike Zornek
December 08, 2016
Programming
180
0
Share
UIPageViewController
It’s not totally useless.
Code:
https://github.com/zorn/PageDemo
Mike Zornek
December 08, 2016
More Decks by Mike Zornek
See All by Mike Zornek
An Introduction to Elixir
zorn
0
350
Working With Time Zones in an Elixir Phoenix App
zorn
1
1.4k
Designing a Modern Swift Network Stack
zorn
1
1.1k
Overcoming the stress surrounding Code Review, for the betterment of your project and career
zorn
0
300
Starting, Running and Growing a Successful Developer Meetup
zorn
0
130
UIKit it Dead, Long Live UIKit!
zorn
1
210
Swift Code Patterns From the Ranch
zorn
1
260
Swift Code Patterns
zorn
1
300
Consuming JSON in Swift
zorn
0
230
Other Decks in Programming
See All in Programming
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
12
3.4k
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
関係性から理解する"同一性"の型用語たち
pvcresin
2
630
今さら聞けないCancellationToken
htkym
0
220
inferと仲良くなる10分間
ryokatsuse
1
360
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
610
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
530
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
690
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
3.2k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
Oxcを導入して開発体験が向上した話
yug1224
4
280
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
Building an army of robots
kneath
306
46k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.3k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
460
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Skip the Path - Find Your Career Trail
mkilby
1
140
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
We Have a Design System, Now What?
morganepeng
55
8.2k
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
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