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
CocoaHeads SKG #5 - Introduction to tvOS
Search
CocoaHeadsSKG
June 07, 2016
Programming
0
53
CocoaHeads SKG #5 - Introduction to tvOS
The awesome @ipavelas makes a sweet introduction to tvOS
CocoaHeadsSKG
June 07, 2016
Tweet
Share
More Decks by CocoaHeadsSKG
See All by CocoaHeadsSKG
CocoaHeads SKG #10 - Migrating to Swift
cocoaheadsskg
0
53
CocoaHeads SKG #10 - Rich Push Notifications on iOS10
cocoaheadsskg
0
93
CocoaHeads SKG #9 - Protocol Oriented Programming
cocoaheadsskg
0
88
CocoaHeads SKG #8 - Application Architecture
cocoaheadsskg
0
88
CocoaHeads SKG #4 - Getting Dirty With Realm.io
cocoaheadsskg
1
110
CocoaHeads SKG #3 - iOS link Handling
cocoaheadsskg
0
110
CocoaheadsSKG #3 - Towards Continuous Delivery with Fastlane
cocoaheadsskg
0
82
CocoaheadsSKG #2 - Supporting 3D Touch on iPhone
cocoaheadsskg
0
57
CocoaheadsSKG #2 - Introduction to RxSwift
cocoaheadsskg
0
130
Other Decks in Programming
See All in Programming
I/O Extended Android in Korea 2024 ~ Whats new in Android development tools
pluu
0
250
初心者がおさえておきたいAWS CDKのベストプラクティス 2024
konokenj
15
7.3k
Prompt FlowによるLLMアプリケーション開発
yuto2000
1
1k
AWSでゲームサーバーを運用! Amazon GameLiftのお話
iriikeita
0
200
Activities at Cairo Library
cairolibrary720
0
1.2k
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
140
開発部に不満を持っていたCSがエンジニアにジョブチェンしてわかった「勝手に諦めない」ことの大切さ
sakuraikotone
28
16k
TiDB Serverless ~理想のServerless DBを考える~
soso_15315
1
160
Rubyのパフォーマンスプロファイリングの改善 / Enhancing performance profiling for Ruby
osyoyu
1
410
今こそ始める、CDKコンストラクトライブラリ開発 ― 入門から実践まで
tmokmss
1
930
スクラムマスターって孤独じゃないですか?
yoshitaroyoyo
1
140
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
Featured
See All Featured
Embracing the Ebb and Flow
colly
81
4.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
662
120k
Web Components: a chance to create the future
zenorocha
307
41k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.5k
A Modern Web Designer's Workflow
chriscoyier
689
190k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
245
1.2M
The Power of CSS Pseudo Elements
geoffreycrofte
64
5.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
Infographics Made Easy
chrislema
238
18k
Visualization
eitanlees
139
14k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Transcript
Intro to tvOS have they finally cracked it? @iPavleas
What is it? Apps on TV Derived from iOS New
frameworks TVML, TVJS Storage limitations New UX (Indirect input)
Frameworks Accelerate AudioToolbox AudioUnit AVFoundation AVKit CFNetwork CloudKit CoreBluetooth CoreData
CoreFoundation CoreGraphics CoreImage CoreLocation CoreMedia CoreSpotlight CoreText CoreVideo Darwin Foundation GameController GameKit GameplayKit GLKi ImageIO MachO MapKit MediaAccessibility MediaPlayer MediaToolbox Metal MetalKit MetalPerformanceShaders MobileCoreServices ModelIO OpenGLES SceneKit Security simd SpriteKit StoreKit Swift Standard Library SystemConfiguration UIKit
No Photos No AddressBook No Contacts No MessageUI No ReplayKit
No HomeKit
No WebKit
TVML XML, HTML like Templates (formTemplate, menuBarTemplate) Elements (title, img,
button)
None
None
None
TVJS JavaScript Standard DOM classes + EventListenerObject, Keyboard, NavigationDocument etc
Can exist on a server Can bridge native code with JavaScript Core
None
TVML vs Native Slower Less customisable Updates without app review
Stock apps look like TVML
NSUserDefaults (limited to 500KB) iCloud Key Value Storage (1MB per
user, 1024 keys) CloudKit Own server Limited Persistent (local) Storage
tvOS app bundle < 200MB
New UX - Siri Remote “creates a unique, intimate connection
with onscreen content” Focus Parallax images Gestures
Focus Engine UIFocusEnvironment protocol UIView, UIViewController, UIWindow, UIPresentationController prefferedFocusView
None
Focus Engine Swipe to move focus: left, right, up, down
Internal picture of app’s UI should/ didUpdateFocusInContext setNeedsFocusUpdate
Focus Engine UIFocusGuide bottomAnchor, leftAnchor etc
Gestures UITapGestureRecognizer: numberOfTaps, allowedPressTypes UILongPressGestureRecognizer: UISwipeGestureRecognizer: UIPanGestureRecognizer:
No MultiTouch
None
Existing Projects Standalone binary Universal purchase Share code with existing
iOS apps Add new target New storyboards (1920x1080, scale 1x) TestFlight
Thank you!