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
190
Working With Time Zones in an Elixir Phoenix App
zorn
1
1.2k
Designing a Modern Swift Network Stack
zorn
1
770
Overcoming the stress surrounding Code Review, for the betterment of your project and career
zorn
0
110
Starting, Running and Growing a Successful Developer Meetup
zorn
0
44
UIKit it Dead, Long Live UIKit!
zorn
1
110
Swift Code Patterns From the Ranch
zorn
1
160
Swift Code Patterns
zorn
1
190
Consuming JSON in Swift
zorn
0
130
Other Decks in Programming
See All in Programming
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
150
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
910
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
530
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
180
新宿ダンジョンを可視化してみた
satoshi7190
2
250
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
[技育CAMPアカデミア]アイディアを形に!【超入門】スマホアプリ開発〜リリースまでの流れをご紹介
teamlab
PRO
0
370
GitHub Copilotのススメ
marcy731
1
200
"config" ってなんだ? / What is "config"?
okashoi
0
240
Git Rebase
bkuhlmann
11
1.6k
Ruby Function Composition
bkuhlmann
1
330
Featured
See All Featured
How to name files
jennybc
65
93k
Thoughts on Productivity
jonyablonski
58
3.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Debugging Ruby Performance
tmm1
70
11k
[RailsConf 2023] Rails as a piece of cake
palkan
23
3.9k
What the flash - Photography Introduction
edds
64
11k
What's in a price? How to price your products and services
michaelherold
237
11k
Navigating Team Friction
lara
178
13k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.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