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
120
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
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
6
1.2k
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
280
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
440
AmperとFleetを使ったAndroidアプリ
yoppie
0
250
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
180
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1k
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.4k
GitHub Copilotのススメ
marcy731
1
220
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
170
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
380
Sheets API使ってみた
toshi0383
2
160
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
20
1.6k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.2k
Atom: Resistance is Futile
akmur
260
25k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
6k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
Git: the NoSQL Database
bkeepers
PRO
423
63k
The Cost Of JavaScript in 2023
addyosmani
20
3.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
The Cult of Friendly URLs
andyhume
74
5.7k
What the flash - Photography Introduction
edds
64
11k
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