Leveraging Touch Input on ios
|
|
- Felix Copeland
- 5 years ago
- Views:
Transcription
1 App Frameworks #WWDC16 Leveraging Touch Input on ios And getting the most out of Apple Pencil Session 220 Dominik Wagner UIKit Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
2 New and Recent Hardware
3 3D Touch iphone 6s and iphone 6s Plus A Peek at 3D Touch Presidio Thursday 4:00PM
4 Faster Touch Scanning ipad Air 2 and ipad Pro
5 Apple Pencil ipad Pro Precise location 240 Hz scan rate Tilt, orientation, and force Palm rejection
6 Siri Remote Apple TV UIFocusEngine Game Controller Indirect touches
7 Siri Remote Apple TV UIFocusEngine Game Controller Indirect touches Apple TV Tech Talks Controlling Game Input for Apple TV Mission Wednesday 5:00PM
8 Building a Drawing App
9 Building a Drawing App Agenda New API Step-by-step Sample code available
10 Say Hello to SpeedSketch One sheet of paper you can draw on Full support for Apple Pencil and 3D Touch
11 Building a Drawing App Model and capture
12 Building a Drawing App Model and capture Series of strokes UITouch in event callbacks Copy the relevant data
13 Building a Drawing App Model and capture struct StrokeSample { let location: CGPoint StrokeSample
14 Building a Drawing App Model and capture class Stroke { var samples: [StrokeSample] = [] Stroke StrokeSample func add(sample: StrokeSample) StrokeSample StrokeSample
15 Building a Drawing App Model and capture class Stroke { var samples: [StrokeSample] = [] var state: StrokeState =.active func add(sample: StrokeSample) Stroke StrokeSample StrokeSample StrokeSample enum StrokeState { case active case done case cancelled
16 Building a Drawing App Model and capture class StrokeCollection { var strokes: [Stroke] = [] StrokeCollection Stroke func add(donestroke: stroke) StrokeSample StrokeSample StrokeSample Stroke Stroke
17 Building a Drawing App Model and capture class StrokeCollection { StrokeCollection var strokes: [Stroke] = [] var activestroke: Stroke? func add(donestroke: stroke) Stroke StrokeSample StrokeSample StrokeSample Stroke Stroke
18 Building a Drawing App Model and capture Where to capture? UIGestureRecognizer UIView Up the responder chain
19 Building a Drawing App Capture Custom UIGestureRecognizer Stroke Gesture Recognizer Targeting the main view controller View controller facilitates update Canvas View Controller Stroke View
20 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer {
21 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke()
22 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) {
23 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() func appendtouches(_ touches: Set<UITouch>, event: UIEvent?) -> Bool override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) {
24 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() func appendtouches(_ touches: Set<UITouch>, event: UIEvent?) -> Bool override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.began
25 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() func appendtouches(_ touches: Set<UITouch>, event: UIEvent?) -> Bool override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.began override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.changed
26 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() func appendtouches(_ touches: Set<UITouch>, event: UIEvent?) -> Bool override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.began override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.changed override func touchesended(_ touches: Set<UITouch>, with event: UIEvent?) override func touchescancelled(_ touches: Set<UITouch>, with event: UIEvent?)
27 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() func appendtouches(_ touches: Set<UITouch>, event: UIEvent?) -> Bool override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.began override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.changed override func touchesended(_ touches: Set<UITouch>, with event: UIEvent?) override func touchescancelled(_ touches: Set<UITouch>, with event: UIEvent?) override func reset() { stroke = Stroke() super.reset()
28 import UIKit.UIGestureRecognizerSubclass class StrokeGestureRecognizer: UIGestureRecognizer { var stroke = Stroke() func appendtouches(_ touches: Set<UITouch>, event: UIEvent?) -> Bool override func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.began override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if appendtouches(touches, event:event) { state =.changed override func touchesended(_ touches: Set<UITouch>, with event: UIEvent?) override func touchescancelled(_ touches: Set<UITouch>, with event: UIEvent?) override func reset() { stroke = Stroke() super.reset()
29 class CanvasViewController: UIViewController { override func viewdidload() { super.viewdidload()
30 class CanvasViewController: UIViewController { override func viewdidload() { super.viewdidload() let strokerecognizer = StrokeGestureRecognizer( target: self, action: #selector(strokeupdated(_:)) ) view.addgesturerecognizer(strokerecognizer)
31 class CanvasViewController: UIViewController { override func viewdidload() { super.viewdidload() let strokerecognizer = StrokeGestureRecognizer( target: self, action: #selector(strokeupdated(_:)) ) view.addgesturerecognizer(strokerecognizer) func strokeupdated(_ strokegesture: StrokeGestureRecognizer) { view.stroketodraw = strokegesture.stroke
32 class CanvasViewController: UIViewController { override func viewdidload() { super.viewdidload() let strokerecognizer = StrokeGestureRecognizer( target: self, action: #selector(strokeupdated(_:)) ) view.addgesturerecognizer(strokerecognizer) func strokeupdated(_ strokegesture: StrokeGestureRecognizer) { view.stroketodraw = strokegesture.stroke
33 Let s have a look
34 Pencil tip
35
36 Pencil Excessive gap Long, choppy lines
37 Analysis of First Attempt Missed events Drawing engine Did not use the new ios 9.0 API
38 Anatomy of a Stroke
39 Anatomy of a Stroke
40 Anatomy of a Stroke Ended Began
41 Anatomy of a Stroke Ended Began
42 Anatomy of a Stroke Ended Moved Moved Moved Moved Moved Began
43 Anatomy of a Stroke Ended Moved Moved Moved Moved Moved Began
44 Anatomy of a Stroke Coalesced Ended Moved Moved Moved Moved Moved Began
45 Anatomy of a Stroke Coalesced Ended Moved Moved Moved Moved Moved Began
46 Anatomy of a Stroke Coalesced Ended Moved Moved Moved Moved Moved Began
47 Coalesced Touches class UIEvent { public func coalescedtouches(for touch: UITouch) -> [UITouch]?
48 Coalesced Touches class StrokeGestureRecognizer: UIGestureRecognizer { override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if let touch = touches.first { appendtouch(touch)
49 Coalesced Touches class StrokeGestureRecognizer: UIGestureRecognizer { override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if let touch = touches.first { for coalescedtouch in event.coalescedtouches(for: touch) { appendtouch(touch)
50
51
52 Pencil Coalesced touches (gray) Live touch (black) Excessive gap Too many coalesced touches
53 Analysis of Second Attempt Speed is still lacking UIKit helped us by coalescing
54 Do Not Draw on Every Touch Event Display refresh rate is 60 Hz Incoming event frequency can reach 240 Hz and more Do not try to draw faster than screen can refresh
55 When to Render? UIView Use setneedsdisplay() Implement draw(_ rect: CGRect) GLKView, MTLView Set the enablesetneedsdisplay property to true If required, draw at a steady rate using a CADisplayLink object
56 class StrokeCGView: UIView { var stroketodraw: Stroke? { didset { drawimageandupdate()
57 class StrokeCGView: UIView { var stroketodraw: Stroke? { didset { setneedsdisplay()
58 Even Better Mark only the changed areas setneedsdisplayin(rect: changedrect) Activate drawsasynchronously on the layer class StrokeCGView: UIView { override init(frame: CGRect) { super.init(frame: frame) layer.drawsasynchronously = true
59
60 Steady amount of coalesced touches Still some lag
61 Improve Perceived Latency Use predicted touches class UIEvent { public func predictedtouches(for touch: UITouch) -> [UITouch]?
62 Predicted Touches Add predicted touches to your data structure temporarily Choose their appearance, depending on your app To appear like actual touches To appear as tentative
63 Predicted Touches class StrokeGestureRecognizer: UIGestureRecognizer { override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if let touch = touches.first { for coalescedtouch in event.coalescedtouches(for:touch) { appendtouch(touch)
64 Predicted Touches class StrokeGestureRecognizer: UIGestureRecognizer { override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if let touch = touches.first { for coalescedtouch in event.coalescedtouches(for:touch) { appendtouch(touch) for predictedtouch in event.predictedtouches(for:touch) { appendtouchtemporarily(touch)
65 Predicted Touches class StrokeGestureRecognizer: UIGestureRecognizer { override func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent?) { if let touch = touches.first { cleartemporarytouches() for coalescedtouch in event.coalescedtouches(for:touch) { appendtouch(touch) for predictedtouch in event.predictedtouches(for:touch) { appendtouchtemporarily(touch)
66
67 Predicted touches
68 What Have We Seen so Far Collect input data using a UIGestureRecognizer Access coalesced touches Make rendering fast and efficient Use predicted touches
69 Apple Pencil
70 Apple Pencil Touch types public var type: UITouchType { get
71 Apple Pencil Touch types public var type: UITouchType { get enum UITouchType : Int { case direct case indirect case stylus
72 Apple Pencil Higher precision func preciselocation(in view: UIView?) -> CGPoint func precisepreviouslocation(in view: UIView?) -> CGPoint
73 Apple Pencil and 3D Touch Force public var force: CGFloat { get public var maximumpossibleforce: CGFloat { get Device Range iphone 6s (Plus) maximumpossibleforce Apple Pencil on ipad Pro maximumpossibleforce Touch on ipad Pro and all previous devices 0.0
74 Apple Pencil and 3D Touch Force func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent) func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent) func touchesended(_ touches: Set<UITouch>, with event: UIEvent) func touchescancelled(_ touches: Set<UITouch>, with event: UIEvent)
75 Apple Pencil and 3D Touch Tap recognition func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent) { canceltap() Use UITapGestureRecognizer
76 Force Add to the model struct StrokeSample { let location: CGPoint
77 Force Add to the model struct StrokeSample { let location: CGPoint var force: CGFloat?
78 Width based on force
79 Apple Pencil Tilt
80 Apple Pencil Tilt Altitude
81 Apple Pencil Tilt var altitudeangle: CGFloat { get
82 Apple Pencil Orientation
83 Apple Pencil Orientation
84 Apple Pencil Orientation
85 Apple Pencil Orientation
86 Apple Pencil Orientation Azimuth
87 Apple Pencil Azimuth func azimuthangle(in view: UIView?) -> CGFloat func azimuthunitvector(in view: UIView?) -> CGVector
88 Apple Pencil Force Along axis
89 Apple Pencil Force Perpendicular to device surface
90 Apple Pencil Force var perpendicularforce: CGFloat { get { return force / sin(altitudeangle)
91 Apple Pencil Force var perpendicularforce: CGFloat { get { return min( force / sin(altitudeangle), maximumpossibleforce)
92 Apple Pencil Force
93 Apple Pencil Estimated properties var estimatedproperties: UITouchProperties { get
94 Apple Pencil Estimated properties var estimatedproperties: UITouchProperties { get struct UITouchProperties : OptionSet {
95 Apple Pencil Estimated properties var estimatedproperties: UITouchProperties { get struct UITouchProperties : OptionSet { static var force: UITouchProperties { get
96 Apple Pencil Estimated properties var estimatedproperties: UITouchProperties { get struct UITouchProperties : OptionSet { static var force: UITouchProperties { get static var azimuth: UITouchProperties { get static var altitude: UITouchProperties { get
97 Apple Pencil Estimated properties var estimatedproperties: UITouchProperties { get struct UITouchProperties : OptionSet { static var force: UITouchProperties { get static var azimuth: UITouchProperties { get static var altitude: UITouchProperties { get static var location: UITouchProperties { get
98 Apple Pencil Estimated properties var estimatedproperties: UITouchProperties { get struct UITouchProperties : OptionSet { static var force: UITouchProperties { get static var azimuth: UITouchProperties { get static var altitude: UITouchProperties { get static var location: UITouchProperties { get var estimatedpropertiesexpectingupdates: UITouchProperties { get
99 Apple Pencil Estimated properties with updates func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent) func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent) func touchesended(_ touches: Set<UITouch>, with event: UIEvent) func touchescancelled(_ touches: Set<UITouch>, with event: UIEvent)
100 Apple Pencil Estimated properties with updates func touchesbegan(_ touches: Set<UITouch>, with event: UIEvent) func touchesmoved(_ touches: Set<UITouch>, with event: UIEvent) func touchesended(_ touches: Set<UITouch>, with event: UIEvent) func touchescancelled(_ touches: Set<UITouch>, with event: UIEvent) func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>)
101 Apple Pencil Estimated properties with updates Check estimatedpropertiesexpectingupdates Use estimationupdateindex as key to index your sample Look up the estimationupdateindex in touchesestimatedpropertiesupdated(_:) Some updates will arrive after touchesended:
102 Apple Pencil Estimated properties with updates override func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>) { for touch in touches {
103 Apple Pencil Estimated properties with updates override func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>) { for touch in touches { let estimationindex = touch.estimationupdateindex!
104 Apple Pencil Estimated properties with updates override func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>) { for touch in touches { let estimationindex = touch.estimationupdateindex! let (sample, sampleindex) = samplesexpectingupdates[estimationindex]
105 Apple Pencil Estimated properties with updates override func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>) { for touch in touches { let estimationindex = touch.estimationupdateindex! let (sample, sampleindex) = samplesexpectingupdates[estimationindex] let updatedsample = updatedsample(with: touch)
106 Apple Pencil Estimated properties with updates override func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>) { for touch in touches { let estimationindex = touch.estimationupdateindex! let (sample, sampleindex) = samplesexpectingupdates[estimationindex] let updatedsample = updatedsample(with: touch) stroke.update(sample: updatedsample, at: sampleindex)
107 Apple Pencil Estimated properties with updates override func touchesestimatedpropertiesupdated(_ touches: Set<UITouch>) { for touch in touches { let estimationindex = touch.estimationupdateindex! let (sample, sampleindex) = samplesexpectingupdates[estimationindex] let updatedsample = updatedsample(with: touch) stroke.update(sample: updatedsample, at: sampleindex) if touch.estimatedpropertiesexpectingupdates == [] { samplesexpectingupdates.removevalue(forkey: sampleindex)
108 Azimuth
109
110 Finishing Touches Canvas 84
111 Finishing Touches Canvas 84
112 Finishing Touches Canvas 84
113 Finishing Touches Adjusting gestures Scroll view UIPanGestureRecognizer vs. StrokeGestureRecognizer Disable scrolling with Apple Pencil class UIGestureRecognizer { public var allowedtouchtypes: [NSNumber] let pan = scrollview.pangesturerecognizer pan.allowedtouchtypes = [UITouchType.direct.rawValue as NSNumber] strokerecognizer.allowedtouchtypes = [UITouchType.stylus.rawValue as NSNumber]
114 Finishing Touches Adjusting gestures class UIGestureRecognizer { public var requiresexclusivetouchtype: Bool
115 Summary New properties of UITouch Coalesced and predicted touches Property estimation Adjusting gestures
116 1024 x 768
117 1024 x 768
118 More Information
119 Related Sessions Controlling Game Input for Apple TV Mission Wednesday 5:00PM A Peek at 3D Touch Presidio Thursday 4:00PM Advanced Touch Input on ios WWDC 2015
120 Labs UIKit and UIKit Animations Lab Cocoa Touch and 3D Touch Lab Frameworks Lab C Frameworks Lab C Thursday 1:00PM Friday 10:30AM
121
Modern User Interaction on ios
App Frameworks #WWDC17 Modern User Interaction on ios Mastering the UIKit UIGesture System Session 219 Dominik Wagner, UIKit Engineer Michael Turner, UIKit Engineer Glen Low, UIKit Engineer 2017 Apple
More informationGestures. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Gestures Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Gestures Gesture recognizers Gesture states
More informationAdvanced Scrollviews and Touch Handling Techniques
Frameworks #WWDC14 Advanced Scrollviews and Touch Handling Techniques Session 235 Josh Shaffer ios Apps and Frameworks Engineer Eliza Block ios Apps and Frameworks Engineer 2014 Apple Inc. All rights reserved.
More informationEnhancing your apps for the next dimension of touch
App Frameworks #WWDC16 A Peek at 3D Touch Enhancing your apps for the next dimension of touch Session 228 Tyler Fox UIKit Frameworks Engineer Peter Hajas UIKit Frameworks Engineer 2016 Apple Inc. All rights
More informationMastering UIKit on tvos
App Frameworks #WWDC16 Mastering UIKit on tvos Session 210 Justin Voss UIKit Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationQuick Interaction Techniques for watchos
App Frameworks #WWDC16 Quick Interaction Techniques for watchos Session 211 Tom Witkin watchos Engineer Miguel Sanchez watchos Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display
More informationAnnouncements. Lab 2 is due next Monday (Sept 25 th ) by 11:59 PM. Late policy is 10% of lab total per day late. So -7.5 points per day late for lab 2
Announcements Lab 2 is due next Monday (Sept 25 th ) by 11:59 PM Late policy is 10% of lab total per day late So -7.5 points per day late for lab 2 Labs 3 and 4 are posted on the course website Extensible
More informationImplementing UI Designs in Interface Builder
Developer Tools #WWDC15 Implementing UI Designs in Interface Builder Session 407 Kevin Cathey Interface Builder Engineer Tony Ricciardi Interface Builder Engineer 2015 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in tvos 12
#WWDC18 What s New in tvos 12 Session 208 Hans Kim, tvos Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda Agenda
More informationWhat s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer
App Frameworks #WWDC16 What s New in tvos Session 206 Hans Kim tvos Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Welcome
More informationCocoa Touch Best Practices
App Frameworks #WWDC15 Cocoa Touch Best Practices Session 231 Luke Hiesterman UIKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationExtending Your Apps with SiriKit
App Frameworks #WWDC16 Extending Your Apps with SiriKit Session 225 Vineet Khosla SiriKit Engineering Diana Huang SiriKit Engineering Scott Andrus SiriKit Engineering 2016 Apple Inc. All rights reserved.
More informationMedia and Gaming Accessibility
Session System Frameworks #WWDC17 Media and Gaming Accessibility 217 Greg Hughes, Software Engineering Manager Charlotte Hill, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public
More informationMobile Application Programming. Controls
Mobile Application Programming Controls Views UIView instances and subclasses Form a tree rooted at the window Have a backing store of pixels that are drawn seldomly, then composited to form the full user
More informationWhat's New in UIKit Dynamics and Visual Effects Session 229
App Frameworks #WWDC15 What's New in UIKit Dynamics and Visual Effects Session 229 Michael Turner UIKit Engineer David Duncan UIKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public
More informationLecture 5 Demo Code: FaceIt MVC and Gestures
Lecture 5 Demo Code: FaceIt MVC and Gestures Objective Included below is the source code for the demo in lecture. It is provided under the same Creative Commons licensing as the rest of CS193p s course
More informationUsing and Extending the Xcode Source Editor
Developer Tools #WWDC16 Using and Extending the Xcode Source Editor Session 414 Mike Swingler Xcode Infrastructure and Editors Chris Hanson Xcode Infrastructure and Editors 2016 Apple Inc. All rights reserved.
More informationMastering Drag and Drop
Session App Frameworks #WWDC17 Mastering Drag and Drop 213 Tom Adriaenssen, UIKit Wenson Hsieh, WebKit Robb Böhnke, UIKit 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationWhat s New in imessage Apps
Session App Frameworks #WWDC17 What s New in imessage Apps 234 Eugene Bistolas, Messages Engineer Jay Chae, Messages Engineer Stephen Lottermoser, Messages Engineer 2017 Apple Inc. All rights reserved.
More informationAnnouncements. Today s Topics
Announcements Lab 2 is due tonight by 11:59 PM Late policy is 10% of lab total per day late So -7.5 points per day late for lab 2 Labs 3 and 4 are posted on the course website Extensible Networking Platform
More informationNew UIKit Support for International User Interfaces
App Frameworks #WWDC15 New UIKit Support for International User Interfaces Session 222 Sara Radi Internationalization Software Engineer Aaltan Ahmad Internationalization Software Engineer Paul Borokhov
More informationAdvanced Notifications
System Frameworks #WWDC16 Advanced Notifications Session 708 Michele Campeotto ios Notifications 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationWhat s New in watchos
Session App Frameworks #WWDC17 What s New in watchos 205 Ian Parks, watchos Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationGetting the Most out of Playgrounds in Xcode
#WWDC18 Getting the Most out of Playgrounds in Xcode Session 402 Tibet Rooney-Rabdau, Xcode Engineer Alex Brown, Core OS Engineer TJ Usiyan, Xcode Engineer 2018 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in Core Image
Media #WWDC15 What s New in Core Image Session 510 David Hayward Engineering Manager Tony Chu Engineer Alexandre Naaman Lead Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display
More informationios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility
App Frameworks #WWDC15 ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationStanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015
Stanford CS193p Developing Applications for ios Interface Builder Today Demo: Viewing and Editing your custom UIViews in your storyboard (FaceView) The Happiness MVC s Model It s happiness, of course!
More informationBuilding Watch Apps #WWDC15. Featured. Session 108. Neil Desai watchos Engineer
Featured #WWDC15 Building Watch Apps Session 108 Neil Desai watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Agenda
More informationData Delivery with Drag and Drop
Session App Frameworks #WWDC17 Data Delivery with Drag and Drop 227 Dave Rahardja, UIKit Tanu Singhal, UIKit 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationDesigning for Apple Watch
Design #WWDC15 Designing for Apple Watch Session 802 Mike Stern User Experience Evangelist 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationCreating Great App Previews
Services #WWDC14 Creating Great App Previews Session 304 Paul Turner Sr. Operations Manager itunes Digital Supply Chain Engineering 2014 Apple Inc. All rights reserved. Redistribution or public display
More informationWhat s New in NSCollectionView Session 225
App Frameworks #WWDC15 What s New in NSCollectionView Session 225 Troy Stephens Application Frameworks Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationView Controller Advancements for ios8
Frameworks #WWDC14 View Controller Advancements for ios8 Session 214 Bruce D. Nilo Manager, UIKit Fundamentals 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationMobile Application Programing: ios. Messaging
Mobile Application Programing: ios Messaging Application Model View Controller (MVC) Application Controller User Action Update View Notify Update Model Messaging Controller User Action Update Notify Update
More informationWhat s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson
Session App Frameworks #WWDC17 What s New in MapKit 237 Fredrik Olsson 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. MKMapView.mapType.standard
More informationEvent Delivery: The Responder Chain
When you design your app, it s likely that you want to respond to events dynamically. For example, a touch can occur in many different objects onscreen, and you have to decide which object you want to
More informationIntegrating Apps and Content with AR Quick Look
Session #WWDC18 Integrating Apps and Content with AR Quick Look 603 David Lui, ARKit Engineering Dave Addey, ARKit Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not
More informationIntroducing On Demand Resources
App Frameworks #WWDC15 Introducing On Demand Resources An element of App Thinning Session 214 Steve Lewallen Frameworks Engineering Tony Parker Cocoa Frameworks 2015 Apple Inc. All rights reserved. Redistribution
More informationMysteries of Auto Layout, Part 1
App Frameworks #WWDC15 Mysteries of Auto Layout, Part 1 Session 218 Jason Yao Interface Builder Engineer Kasia Wawer ios Keyboards Engineer 2015 Apple Inc. All rights reserved. Redistribution or public
More informationMonetize and Promote Your App with iad
Media #WWDC15 Monetize and Promote Your App with iad From design to launch Session 503 Carol Teng Shashank Phadke 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationAccessibility on ios. Developing for everyone. Frameworks #WWDC14. Session 210 Clare Kasemset ios Accessibility
Frameworks #WWDC14 Accessibility on ios Developing for everyone Session 210 Clare Kasemset ios Accessibility 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationDeveloping Applications for ios
Developing Applications for ios Lecture 5: Views, Drawing and Gestures Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content Views, Drawing and
More informationIntroducing Swift Playgrounds
Developer Tools #WWDC16 Introducing Swift Playgrounds Exploring with Swift on ipad Session 408 Matt Patenaude Playgrounds Engineer Maxwell Swadling Playgrounds Engineer Jonathan Penn Playgrounds Engineer
More informationios Application Development Lecture 3: Unit 2
ios Application Development Lecture 3: Unit 2 Dr. Simon Völker & Philipp Wacker Media Computing Group RWTH Aachen University Winter Semester 2017/2018 http://hci.rwth-aachen.de/ios Recap Basics of Swift
More informationIntroducing the Modern WebKit API
Frameworks #WWDC14 Introducing the Modern WebKit API Session 206 Anders Carlsson Safari and WebKit Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationWhat s New in Testing
#WWDC18 What s New in Testing Session 403 Honza Dvorsky, Xcode Engineer Ethan Vaughan, Xcode Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationImproving your Existing Apps with Swift
Developer Tools #WWDC15 Improving your Existing Apps with Swift Getting Swifty with It Session 403 Woody L. in the Sea of Swift 2015 Apple Inc. All rights reserved. Redistribution or public display not
More informationGraphics and Animation
Graphics and Animation Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline ios frameworks for graphics
More informationimessage Apps and Stickers, Part 2
App Frameworks #WWDC16 imessage Apps and Stickers, Part 2 Interactive Messages Session 224 Alex Carter Messages Engineer Stephen Lottermoser Messages Engineer 2016 Apple Inc. All rights reserved. Redistribution
More informationDesigning Great Apple Watch Experiences
Design #WWDC16 Designing Great Apple Watch Experiences Session 804 Mike Stern User Experience Evangelist 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationSwift API Design Guidelines
Developer Tools #WWDC16 Swift API Design Guidelines The Grand Renaming Session 403 Doug Gregor Swift Engineer Michael Ilseman Swift Engineer 2016 Apple Inc. All rights reserved. Redistribution or public
More informationStanford CS193p. Developing Applications for ios. Winter CS193p. Winter 2017
Stanford Developing Applications for ios Today Views Custom Drawing Demo FaceView Views A view (i.e. UIView subclass) represents a rectangular area Defines a coordinate space For drawing And for handling
More informationStanford CS193p. Developing Applications for ios. Spring CS193p. Spring 2016
Stanford Developing Applications for ios Today Views Custom Drawing Demo FaceView Views A view (i.e. UIView subclass) represents a rectangular area Defines a coordinate space For drawing And for handling
More informationTouch Bar Fundamentals
Session App Frameworks #WWDC17 Touch Bar Fundamentals 211 Chris Dreessen John Tegtmeyer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationApple Watch Design Tips and Tricks
Design #WWDC15 Apple Watch Design Tips and Tricks Session 805 Mike Stern User Experience Evangelist Rachel Roth User Experience Evangelist 2015 Apple Inc. All rights reserved. Redistribution or public
More informationWhat s New in SpriteKit
Graphics and Games #WWDC16 What s New in SpriteKit Session 610 Ross Dexter Games Technologies Engineer Clément Boissière Games Technologies Engineer 2016 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in Xcode App Signing
Developer Tools #WWDC16 What s New in Xcode App Signing Developing and distributing Session 401 Joshua Pennington Tools Engineering Manager Itai Rom Tools Engineer 2016 Apple Inc. All rights reserved.
More informationCore ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML
System Frameworks #WWDC17 Core ML in Depth Krishna Sridhar, Core ML Zach Nation, Core ML 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from
More informationlecture 10 UI/UX and Programmatic Design cs : spring 2018
lecture 10 UI/UX and Programmatic Design cs198-001 : spring 2018 1 Announcements custom app progress form due before lab (~1 minute) will be released after lecture only 2 labs left (both very important)
More informationBuilding Visually Rich User Experiences
Session App Frameworks #WWDC17 Building Visually Rich User Experiences 235 Noah Witherspoon, Software Engineer Warren Moore, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public
More informationStanford CS193p. Developing Applications for ios. Winter CS193p. Winter 2017
Stanford Developing Applications for ios Today Error Handling in Swift try Extensions A simple, powerful, but easily overused code management syntax Protocols Last (but certainly not least important) typing
More informationCreating Complications with ClockKit Session 209
App Frameworks #WWDC15 Creating Complications with ClockKit Session 209 Eliza Block watchos Engineer Paul Salzman watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display
More informationApp Extension Best Practices
App Frameworks #WWDC15 App Extension Best Practices Session 224 Sophia Teutschler UIKit Engineer Ian Baird CoreOS Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationWhat s New in Core Data?
Session App Frameworks #WWDC17 What s New in Core? Persisting since 2004 210 Melissa Turner, Core Engineer Rishi Verma, Core Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationWhat s New in Cocoa for macos
Session #WWDC18 What s New in Cocoa for macos 209 Ali Ozer, Cocoa Frameworks Chris Dreessen, Cocoa Frameworks Jesse Donaldson, Cocoa Frameworks 2018 Apple Inc. All rights reserved. Redistribution or public
More informationAdopting Advanced Features of the New UI
Frameworks #WWDC14 Adopting Advanced Features of the New UI Session 220 Chris Dreessen AppKit Software Engineer! Corbin Dunn AppKit Software Engineer 2014 Apple Inc. All rights reserved. Redistribution
More informationIntroducing Password AutoFill for Apps
Session App Frameworks #WWDC17 Introducing Password AutoFill for Apps Reducing friction for your users 206 Ricky Mondello, ios Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationStanford CS193p. Developing Applications for ios. Winter CS193p! Winter 2015
Stanford CS193p Developing Applications for ios Today Objective-C Compatibility Bridging Property List NSUserDefaults Demo: var program in CalculatorBrain Views Custom Drawing Demo FaceView Bridging Objective-C
More informationIntroducing SiriKit. Hey Siri, say hello to apps #WWDC16. App Frameworks. Session 217
App Frameworks #WWDC16 Introducing SiriKit Hey Siri, say hello to apps Session 217 Robby Walker SiriKit Engineering Brandon Newendorp SiriKit Engineering Corey Peterson SiriKit Design 2016 Apple Inc. All
More informationWhat s New in ARKit 2
Session #WWDC18 What s New in ARKit 2 602 Arsalan Malik, ARKit Engineer Reinhard Klapfer, ARKit Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationIntroduction to Siri Shortcuts
#WWDC8 Introduction to Siri Shortcuts Session 2 Ari Weinstein, Siri Willem Mattelaer, Siri 208 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationEnabling Your App for CarPlay
Session App Frameworks #WWDC17 Enabling Your App for CarPlay 719 Albert Wan, CarPlay Engineering 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationContents. iphone Training. Industry Trainers. Classroom Training Online Training ON-DEMAND Training. Read what you need
iphone Training Contents About iphone Training Our ios training classes can help you get off to a running start in iphone, ipod and ipad app development. Learn from expert Objective-C developers with years
More informationIntroducing Metal 2. Graphics and Games #WWDC17. Michal Valient, GPU Software Engineer Richard Schreyer, GPU Software Engineer
Session Graphics and Games #WWDC17 Introducing Metal 2 601 Michal Valient, GPU Software Engineer Richard Schreyer, GPU Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationUsing Grouped Notifications
#WWDC18 Using Grouped Notifications Session 711 Michele Campeotto, ios User Notifications 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationCreating Content with iad JS
Creating Content with iad JS Part 2 The iad JS Framework Antoine Quint iad JS Software Engineer ios Apps and Frameworks 2 Agenda Motivations and Features of iad JS Core JavaScript Enhancements Working
More informationBuilding Apps with Dynamic Type
Session App Frameworks #WWDC17 Building Apps with Dynamic Type 245 Clare Kasemset, Software Engineering Manager Nandini Sundar, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or
More informationManaging Documents In Your ios Apps
Session #WWDC18 Managing Documents In Your ios Apps 216 Brandon Tennant, Software Engineer Thomas Deniau, Software Engineer Rony Fadel, Software Engineer 2018 Apple Inc. All rights reserved. Redistribution
More informationios Mobile Development
ios Mobile Development Today Views How to draw custom stuff on screen. Gestures How to react to user s touch gestures. Demo SuperCard Views A view (i.e. UIView subclass) represents a rectangular area Defines
More informationGetting the Most Out of HealthKit
App Frameworks #WWDC16 Getting the Most Out of HealthKit What s new and best practices Session 209 Matthew Salesi ios Software Engineer Joefrey Kibuule ios Software Engineer 2016 Apple Inc. All rights
More informationStanford CS193p. Developing Applications for ios. Fall CS193p. Fall
Stanford Developing Applications for ios Today Miscellaneous Error Handling Any Other Interesting Classes Views Custom Drawing Demo: Draw a Playing Card enum Thrown Errors In Swift, methods can throw errors
More informationINTRODUCTION TO ARCHITECTING YOUR IOS APP
INTRODUCTION TO ARCHITECTING YOUR IOS APP AGENDA Goals of software architecture Design guidelines Practical tips GOALS OF SOFTWARE ARCHITECTURE GOALS OF SOFTWARE ARCHITECTURE Code is comprehensible for
More informationAnnouncements. Today s Topics
Announcements Lab 4 is due on Monday by 11:59 PM Special Guest Lecture next Wednesday Nathan Gitter, former Head TA of 438 He is currently featured on the front page of the ios App Store (Monday Oct 15
More informationios Memory Deep Dive #WWDC18 Kyle Howarth, Software Engineer James Snee, Software Engineer Kris Markel, Software Engineer
Session #WWDC18 ios Memory Deep Dive 416 Kyle Howarth, Software Engineer James Snee, Software Engineer Kris Markel, Software Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display
More informationBuilding Better Apps with Value Types in Swift Session 414
Developer Tools #WWDC15 Building Better Apps with Value Types in Swift Session 414 Doug Gregor Language Lawyer Bill Dudney Arranger of Bits 2015 Apple Inc. All rights reserved. Redistribution or public
More informationWatchKit In-Depth, Part 2
App Frameworks #WWDC15 WatchKit In-Depth, Part 2 Session 208 Nathan de Vries watchos Engineer Chloe Chang watchos Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted
More informationViews, Drawing, and Events. Lecture 5
Views, Drawing, and Events Lecture 5 First - Representing Points and Areas NSPoint // Represents a point in a Cartesian coordinate system. typedef struct _NSPoint { CGFloat x; CGFloat y; } NSPoint Pair
More informationThe Design and Implementation of a Lightweight Game Engine for the iphone Platform
University of Arkansas, Fayetteville ScholarWorks@UARK Computer Science and Computer Engineering Undergraduate Honors Theses Computer Science and Computer Engineering 5-2014 The Design and Implementation
More informationStanford CS193p. Developing Applications for ios. Spring CS193p. Spring 2016
Stanford Developing Applications for ios Today Memory Management for Reference Types Controlling when things leave the heap Closure Capture Closures capture things into the heap too Extensions A simple,
More informationOptimizing Swift Performance Session 409
Developer Tools #WWDC15 Optimizing Swift Performance Session 409 Nadav Rotem Manager, Swift Performance Team Michael Gottesman Engineer, Swift Performance Team Joe Grzywacz Engineer, Performance Tools
More informationWhat s New in Core Bluetooth
Session System Frameworks #WWDC17 What s New in Core Bluetooth 712 Craig Dooley, Bluetooth Engineer Duy Phan, Bluetooth Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not
More informationBuilding Faster in Xcode
#WWDC18 Building Faster in Xcode Session 408 David Owens, Xcode Engineer Jordan Rose, Swift Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written
More informationWhat s New in Metal, Part 2
Graphics and Games #WWDC15 What s New in Metal, Part 2 Session 607 Dan Omachi GPU Software Frameworks Engineer Anna Tikhonova GPU Software Frameworks Engineer 2015 Apple Inc. All rights reserved. Redistribution
More informationMobile Apps Introduction Getting Started Features Resources
Introduction 2 Install on Apple devices 2 Install on Android devices 2 Getting Started 3 Features 4 MAT (Mobile Asset Tracker) 4 AIM (Asset Inventory Manager) 5 Resources 6 1 Introduction Booktracks mobile
More informationWhat s New in Foundation for Swift Session 207
App Frameworks #WWDC16 What s New in Foundation for Swift Session 207 Tony Parker Foundation, Apple Michael LeHew Foundation, Apple 2016 Apple Inc. All rights reserved. Redistribution or public display
More informationITP 342 Mobile App Dev. Connections
ITP 342 Mobile App Dev Connections User Interface Interactions First project displayed information to the user, but there was no interaction. We want the users of our app to touch UI components such as
More informationCarPlay Audio and Navigation Apps
#WWDC18 CarPlay Audio and Navigation Apps Tunes and turns Jonathan Hersh, ios Car Experience Albert Wan, ios Car Experience Mike Knippers, ios Car Experience 2018 Apple Inc. All rights reserved. Redistribution
More informationAdvances in AVFoundation Playback
Media #WWDC16 Advances in AVFoundation Playback Waiting, looping, switching, widening, optimizing Session 503 Sam Bushell Media Systems Architect 2016 Apple Inc. All rights reserved. Redistribution or
More informationStoryboards and Controllers on OS X
Frameworks #WWDC14 Storyboards and Controllers on OS X Contain yourself Session 212 Mike Swingler Interface Builder Engineer Raleigh Ledet AppKit Engineer 2014 Apple Inc. All rights reserved. Redistribution
More informationios 11 App Development Essentials
ios 11 App Development Essentials ios 11 App Development Essentials First Edition 2018 Neil Smyth / Payload Media, Inc. All Rights Reserved. This book is provided for personal use only. Unauthorized use,
More information