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
120
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
260
Working With Time Zones in an Elixir Phoenix App
zorn
1
1.3k
Designing a Modern Swift Network Stack
zorn
1
880
Overcoming the stress surrounding Code Review, for the betterment of your project and career
zorn
0
170
Starting, Running and Growing a Successful Developer Meetup
zorn
0
63
UIKit it Dead, Long Live UIKit!
zorn
1
140
Swift Code Patterns From the Ranch
zorn
1
200
Swift Code Patterns
zorn
1
230
Consuming JSON in Swift
zorn
0
160
Other Decks in Programming
See All in Programming
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
390
BEエンジニアがFEの業務をできるようになるまでにやったこと
yoshida_ryushin
0
100
テストケースの名前はどうつけるべきか?
orgachem
PRO
1
180
선언형 UI에서의 상태관리
l2hyunwoo
0
250
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
970
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
1.3k
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
200
php-conference-japan-2024
tasuku43
0
410
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
600
KubeCon NA 2024の全DB関連セッションを紹介
nnaka2992
0
110
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
670
テストコード書いてみませんか?
onopon
2
290
Featured
See All Featured
Docker and Python
trallard
43
3.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
550
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Six Lessons from altMBA
skipperchong
27
3.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Optimising Largest Contentful Paint
csswizardry
33
3k
Designing for Performance
lara
604
68k
A Modern Web Designer's Workflow
chriscoyier
693
190k
4 Signs Your Business is Dying
shpigford
182
21k
Speed Design
sergeychernyshev
25
720
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
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