Modern User Interaction on ios
|
|
- Olivia Bennett
- 5 years ago
- Views:
Transcription
1 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 Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.
2 Multi-Touch
3 The UIGesture system System gesture interaction Playing nice with Drag and Drop
4 The UIGesture system System gesture interaction Playing nice with Drag and Drop
5 The UIGesture system System gesture interaction Playing nice with Drag and Drop
6 Basics
7 Basics UITouch UIGesture
8
9
10
11 Touch Handling
12 Tap Gesture Touch Handling
13 Tap Gesture Touch Handling
14 UITouch Tap Gesture Touch Handling
15 UITouch Tap Gesture Touch Handling
16 UITouch Tap Gesture Touch Handling
17 possible UITouch Tap Gesture Touch Handling
18 possible UITouch Tap Gesture Touch Handling
19 possible UITouch Tap Gesture Touch Handling ended
20 possible UITouch Tap Gesture Touch Handling ended ended
21 ended UITouch Tap Gesture Touch Handling ended ended
22 ended UITouch Tap Gesture Touch Handling ended ended
23 ended UITouch Tap Gesture Touch Handling ended ended cancelled
24 // Influencing responder based touch handling class UIGesture : NSObject { } open var delaystouchesended: Bool // default is true. open var cancelstouchesin: Bool // default is true. open var delaystouchesbegan: Bool // default is false.
25 // Influencing responder based touch handling class UIGesture : NSObject { } open var delaystouchesended: Bool // default is true. open var cancelstouchesin: Bool // default is true. open var delaystouchesbegan: Bool // default is false.
26 Gesture s first
27 Tap Gesture Touch Handling
28 Pan Gesture Tap Gesture Touch Handling
29 Pan Gesture Tap Gesture Touch Handling
30 UITouch Pan Gesture Tap Gesture Touch Handling
31 possible possible UITouch Pan Gesture Tap Gesture Touch Handling
32 possible possible UITouch Pan Gesture Tap Gesture Touch Handling
33 possible possible UITouch Pan Gesture Tap Gesture Touch Handling moved
34 possible possible UITouch Pan Gesture Tap Gesture Touch Handling moved moved
35 possible UITouch Pan Gesture Tap Gesture Touch Handling moved moved
36 possible UITouch Pan Gesture Tap Gesture Touch Handling moved moved moved
37 failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved moved
38 failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved moved
39 failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved moved cancelled
40 failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved cancelled ended
41 failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved cancelled ended ended
42 ended failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved cancelled ended ended
43 ended failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved cancelled ended ended ended
44 ended failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved cancelled ended ended
45 ended failed UITouch Pan Gesture Tap Gesture Touch Handling moved moved cancelled ended ended
46 Exclusion
47 // Influencing exclusion public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldrecognizesimultaneouslywith othergesture: UIGesture) -> Bool open class UIGesture : NSObject { } open func canprevent(_ preventedgesture: UIGesture) -> Bool open func canbeprevented(by preventinggesture: UIGesture) -> Bool
48 // Influencing exclusion public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldrecognizesimultaneouslywith othergesture: UIGesture) -> Bool open class UIGesture : NSObject { } open func canprevent(_ preventedgesture: UIGesture) -> Bool open func canbeprevented(by preventinggesture: UIGesture) -> Bool
49 // Influencing exclusion public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldrecognizesimultaneouslywith othergesture: UIGesture) -> Bool open class UIGesture : NSObject { } open func canprevent(_ preventedgesture: UIGesture) -> Bool open func canbeprevented(by preventinggesture: UIGesture) -> Bool
50 Pan Gesture Tap Gesture
51 UITouch Pan Gesture Tap Gesture
52 possible possible UITouch Pan Gesture Tap Gesture
53 possible possible UITouch Pan Gesture Tap Gesture moved
54 possible possible UITouch Pan Gesture Tap Gesture moved moved
55 possible UITouch Pan Gesture Tap Gesture moved moved
56 possible UITouch Pan Gesture Tap Gesture moved moved moved
57 gesture(_, shouldrecognizesimultaneously:) -> true possible UITouch Pan Gesture Tap Gesture moved moved moved
58 gesture(_, shouldrecognizesimultaneously:) -> true possible UITouch Pan Gesture Tap Gesture moved moved moved
59 gesture(_, shouldrecognizesimultaneously:) -> true possible UITouch Pan Gesture Tap Gesture moved moved ended
60 gesture(_, shouldrecognizesimultaneously:) -> true possible UITouch Pan Gesture Tap Gesture moved moved ended ended
61 gesture(_, shouldrecognizesimultaneously:) -> true ended possible UITouch Pan Gesture Tap Gesture moved moved ended ended
62 gesture(_, shouldrecognizesimultaneously:) -> true ended possible UITouch Pan Gesture Tap Gesture moved moved ended ended ended
63 gesture(_, shouldrecognizesimultaneously:) -> true ended ended UITouch Pan Gesture Tap Gesture moved moved ended ended ended
64 gesture(_, shouldrecognizesimultaneously:) -> true ended ended UITouch Pan Gesture Tap Gesture moved moved ended ended ended
65 gesture(_, shouldrecognizesimultaneously:) -> true ended ended UITouch Pan Gesture Tap Gesture moved moved ended ended ended
66 Failure Requirements
67 // Failure Requirements class UIGesture : NSObject { } open func require(tofail othergesture: UIGesture) public protocol UIGestureDelegate : NSObjectProtocol { optional public func gesture(_ gesture: UIGesture, shouldrequirefailureof othergesture: UIGesture) -> Bool } optional public func gesture(_ gesture: UIGesture, shouldberequiredtofailby othergesture: UIGesture) -> Bool // Subclasses open class UIGesture : NSObject { } open func shouldrequirefailure(of othergesture: UIGesture) -> Bool open func shouldberequiredtofail(by othergesture: UIGesture) -> Bool
68 // Failure Requirements class UIGesture : NSObject { } open func require(tofail othergesture: UIGesture) public protocol UIGestureDelegate : NSObjectProtocol { optional public func gesture(_ gesture: UIGesture, shouldrequirefailureof othergesture: UIGesture) -> Bool } optional public func gesture(_ gesture: UIGesture, shouldberequiredtofailby othergesture: UIGesture) -> Bool // Subclasses open class UIGesture : NSObject { } open func shouldrequirefailure(of othergesture: UIGesture) -> Bool open func shouldberequiredtofail(by othergesture: UIGesture) -> Bool
69 // Failure Requirements class UIGesture : NSObject { } open func require(tofail othergesture: UIGesture) public protocol UIGestureDelegate : NSObjectProtocol { optional public func gesture(_ gesture: UIGesture, shouldrequirefailureof othergesture: UIGesture) -> Bool } optional public func gesture(_ gesture: UIGesture, shouldberequiredtofailby othergesture: UIGesture) -> Bool // Subclasses open class UIGesture : NSObject { } open func shouldrequirefailure(of othergesture: UIGesture) -> Bool open func shouldberequiredtofail(by othergesture: UIGesture) -> Bool
70 // Failure Requirements class UIGesture : NSObject { } open func require(tofail othergesture: UIGesture) public protocol UIGestureDelegate : NSObjectProtocol { optional public func gesture(_ gesture: UIGesture, shouldrequirefailureof othergesture: UIGesture) -> Bool } optional public func gesture(_ gesture: UIGesture, shouldberequiredtofailby othergesture: UIGesture) -> Bool // Subclasses open class UIGesture : NSObject { } open func shouldrequirefailure(of othergesture: UIGesture) -> Bool open func shouldberequiredtofail(by othergesture: UIGesture) -> Bool
71 Pan Gesture require(tofail:) Tap Gesture
72 UITouch Pan Gesture require(tofail:) Tap Gesture
73 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible
74 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved possible
75 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible
76 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved
77 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed
78 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed possible
79 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed no action possible
80 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed no action possible ended
81 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed no action possible ended ended
82 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed no action possible ended ended ended
83 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed no action possible ended ended no action ended
84 UITouch Pan Gesture require(tofail:) Tap Gesture possible possible moved no action possible moved changed no action possible ended ended no action ended send action
85
86 163 UIGestures
87
88
89 7 UIGestures
90 Hit Testing
91 Hit Testing
92 Hit Testing Window
93 Hit Testing Window
94 Hit Testing
95 // UI subclasses open class UI : NSObject { } open func hittest(_ point: CGPoint, with event: UIEvent?) -> UI? open func point(inside point: CGPoint, with event: UIEvent?) -> Bool class UI : NSObject { var isuserinteractionenabled: Bool var alpha: CGFloat var ishidden: Bool } var ismultipletouchenabled: Bool public struct UIAnimationOptions : OptionSet { } public static var allowuserinteraction: UIAnimationOptions { get }
96 // UI subclasses open class UI : NSObject { } open func hittest(_ point: CGPoint, with event: UIEvent?) -> UI? open func point(inside point: CGPoint, with event: UIEvent?) -> Bool class UI : NSObject { var isuserinteractionenabled: Bool var alpha: CGFloat var ishidden: Bool } var ismultipletouchenabled: Bool public struct UIAnimationOptions : OptionSet { } public static var allowuserinteraction: UIAnimationOptions { get }
97 // UI subclasses open class UI : NSObject { } open func hittest(_ point: CGPoint, with event: UIEvent?) -> UI? open func point(inside point: CGPoint, with event: UIEvent?) -> Bool class UI : NSObject { var isuserinteractionenabled: Bool var alpha: CGFloat var ishidden: Bool } var ismultipletouchenabled: Bool public struct UIAnimationOptions : OptionSet { } public static var allowuserinteraction: UIAnimationOptions { get }
98 // UI subclasses open class UI : NSObject { } open func hittest(_ point: CGPoint, with event: UIEvent?) -> UI? open func point(inside point: CGPoint, with event: UIEvent?) -> Bool class UI : NSObject { var isuserinteractionenabled: Bool var alpha: CGFloat var ishidden: Bool } var ismultipletouchenabled: Bool public struct UIAnimationOptions : OptionSet { } public static var allowuserinteraction: UIAnimationOptions { get }
99 // UI subclasses open class UI : NSObject { } open func hittest(_ point: CGPoint, with event: UIEvent?) -> UI? open func point(inside point: CGPoint, with event: UIEvent?) -> Bool class UI : NSObject { var isuserinteractionenabled: Bool var alpha: CGFloat var ishidden: Bool } var ismultipletouchenabled: Bool public struct UIAnimationOptions : OptionSet { } public static var allowuserinteraction: UIAnimationOptions { get }
100 // UI subclasses open class UI : NSObject { } open func hittest(_ point: CGPoint, with event: UIEvent?) -> UI? open func point(inside point: CGPoint, with event: UIEvent?) -> Bool class UI : NSObject { var isuserinteractionenabled: Bool var alpha: CGFloat var ishidden: Bool } var ismultipletouchenabled: Bool public struct UIAnimationOptions : OptionSet { } public static var allowuserinteraction: UIAnimationOptions { get }
101 Hit Testing and Animations Presentation layer vs model layer UIPropertyAnimator and ismanualhittestingenabled Building Interruptible and Responsive Interactions WWDC 2014 Advances in UIKit Animations and Transitions WWDC 2016
102 Relevant Gesture s Window
103 Relevant Gesture s Window
104 Relevant Gesture s Window
105 // Influencing participation in the interaction public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool optional public func gestureshouldbegin(_ gesture: UIGesture) -> Bool class UIGesture : NSObject { var isenabled: Bool } var allowedtouchtypes: [NSNumber] var requiresexclusivetouchtype: Bool
106 // Influencing participation in the interaction public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool optional public func gestureshouldbegin(_ gesture: UIGesture) -> Bool class UIGesture : NSObject { var isenabled: Bool } var allowedtouchtypes: [NSNumber] var requiresexclusivetouchtype: Bool
107 // Influencing participation in the interaction public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool optional public func gestureshouldbegin(_ gesture: UIGesture) -> Bool class UIGesture : NSObject { var isenabled: Bool } var allowedtouchtypes: [NSNumber] var requiresexclusivetouchtype: Bool
108 // Influencing participation in the interaction public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool optional public func gestureshouldbegin(_ gesture: UIGesture) -> Bool class UIGesture : NSObject { var isenabled: Bool } var allowedtouchtypes: [NSNumber] var requiresexclusivetouchtype: Bool
109 // Influencing participation in the interaction public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool optional public func gestureshouldbegin(_ gesture: UIGesture) -> Bool class UIGesture : NSObject { var isenabled: Bool } var allowedtouchtypes: [NSNumber] var requiresexclusivetouchtype: Bool
110 // Influencing participation in the interaction public protocol UIGestureDelegate : NSObjectProtocol { } optional public func gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool optional public func gestureshouldbegin(_ gesture: UIGesture) -> Bool class UIGesture : NSObject { var isenabled: Bool } var allowedtouchtypes: [NSNumber] var requiresexclusivetouchtype: Bool
111 New on UIGesture NEW Debugging 11.0, *) open var name: String? // name for debugging to appear in logging
112 Debugging Breakpoint opportunities gesture(_ gesture: UIGesture, shouldreceive touch: UITouch) -> Bool touchesbegan(_ touches: Set<UITouch>, with event: UIEvent?) Things to inspect po touches.first?.gestures po event?.touches(for:somegesture) po touches.first?.view?.superview?.gestures
113 Custom UIGestures Begin late and fail fast! Ignore touches ignore(_ touch:, for event:) Don t forget touchescancelled(_:with:)
114 Gesture System
115 Gesture System Revisit your setups
116 Gesture System Revisit your setups Exclusion and failure requirements
117 Gesture System Revisit your setups Exclusion and failure requirements Are your gesture recognizers on the right views?
118 System Gesture Interaction Glen Low, UIKit Engineer
119
120 Cover Sheet or Killjoy?
121 Life on the Edges
122 Life on the Edges Multitasking / Dock
123 Life on the Edges Slide Over Multitasking / Dock
124 Life on the Edges Cover Sheet Slide Over Multitasking / Dock
125 Life on the Edges Cover Sheet Gesture s and Responders Slide Over Multitasking / Dock
126 Who Gets the Touches? System App Tap Pinch Rotate Long Press
127 Who Gets the Touches? System App System App Tap Pinch Rotate Long Press Pan Swipe Responders
128 System gesture or app gesture? We made an educated guess.
129 NEW System gesture or app gesture? You tell us.
130 Let s Talk Terms NEW class MyController: UIController { // override to return which screen edges to defer system gestures override func preferredscreenedgesdeferringsystemgestures() -> UIRectEdge { return defercontrolcenter?.bottom : UIRectEdge() } // call whenever your method would return a different screen edge var defercontrolcenter : Bool { didset { setneedsupdateofscreenedgesdeferringsystemgestures() } } }
131 Let s Talk Terms NEW class MyController: UIController { // override to return which screen edges to defer system gestures override func preferredscreenedgesdeferringsystemgestures() -> UIRectEdge { return defercontrolcenter?.bottom : UIRectEdge() } // call whenever your method would return a different screen edge var defercontrolcenter : Bool { didset { setneedsupdateofscreenedgesdeferringsystemgestures() } } }
132 Let s Talk Terms NEW class MyController: UIController { // override to return which screen edges to defer system gestures override func preferredscreenedgesdeferringsystemgestures() -> UIRectEdge { return defercontrolcenter?.bottom : UIRectEdge() } // call whenever your method would return a different screen edge var defercontrolcenter : Bool { didset { setneedsupdateofscreenedgesdeferringsystemgestures() } } }
133 Speaking in Tongues Gesture s and Responders override func preferredscreenedgesdeferringsystemgestures() -> UIRectEdge { } return defercontrolcenter?.bottom : UIRectEdge()
134 Speaking in Tongues Gesture s and Responders override func preferredscreenedgesdeferringsystemgestures() -> UIRectEdge { } return defercontrolcenter?.bottom : UIRectEdge()
135 Speaking in Tongues Gesture s and Responders Multitasking / Dock override func preferredscreenedgesdeferringsystemgestures() -> UIRectEdge { } return defercontrolcenter?.bottom : UIRectEdge()
136 For Containers Only NEW class MyContainerController: UIController { // override to return which child view controller to consult override func childcontrollerforscreenedgesdeferringsystemgestures() -> UIController? { return myselectedchildcontroller } }
137 Don t Do It, Because Don t mess with the familiar Your recognizers may already get the touches Telling us us doing it
138 Don t Do It, Because Don t mess with the familiar Your recognizers may already get the touches Telling us us doing it Your app is only used casually
139 Playing Nice With Drag and Drop Michael Turner, UIKit Engineer
140 UIDragInteraction NEW Adding UIDragInteraction to a UI within your app is easy let draginteraction = UIDragInteraction(delegate: mydelegate) my.addinteraction(draginteraction)
141 Initiating a Drag
142 Initiating a Drag
143 UIDragInteraction Example UI var interactions UIDragInteraction var gestures UIGesture UIGesture UIGesture UI
144 UIDragInteraction Example UI var interactions UIDragInteraction var gestures UIGesture UIGesture UIGesture UILongPressGesture UIController func longpress(gesture: UIGesture) { switch gesture.state { case.: presentactivitycontroller() case.cancelled: dismissactivitycontroller() default: break } } UI
145 Long Press and Move
146 UILongPressGestures are delayed
147 Long Press, Hold, and Move
148 A beginning drag will cancel the touch
149 Compact Trait Environment
150 Long Press, Hold, and Move
151 Long presses are delayed until the touch ends
152 Long Press and Lift
153 Adding to a Drag
154 Adding to a Drag Control this behavior using UIDragInteractionDelegate func draginteraction(_ interaction: UIDragInteraction, itemsforaddingto session: UIDragSession, withtouchat point: CGPoint) -> [UIDragItem] { // Returning 0 items allows normal touch processing to continue return [] }
155 How to Adapt for UIDragInteraction Examine your existing actions Present modal UI carefully Handle the.cancelled state Your app is interactive during a drag!
156 Summary Leveraging the gesture system Use the new deferred system gesture APIs Working alongside UIDragInteraction
157 Summary Leveraging the gesture system Use the new deferred system gesture APIs Working alongside UIDragInteraction
158 Summary Leveraging the gesture system Use the new deferred system gesture APIs Working alongside UIDragInteraction
159 More Information
160 Past Sessions Building Advanced Gesture s WWDC 2012 Making the Most of Multi-Touch on ios WWDC 2011 Leveraging Touch Input on ios WWDC 2016 Building Interruptible and Responsive Interactions WWDC 2014 Advanced Scrollviews and Touch Handling Techniques WWDC 2014
161 Related Sessions Introducing Drag and Drop Hall 3 Tuesday 11:20AM What s New in Cocoa Touch Hall 3 Tuesday 10:20AM Updating Your App for ios 11 Hall 3 Tuesday 4:10PM Mastering Drag and Drop Grand Ballroom B Wednesday 11:00AM Advanced Animations with UIKit Hall 3 Thursday 3:10PM
162 Labs Cocoa Touch and Haptics Lab Technology Lab C Fri 12:00PM UIKit and Collection Lab Technology Lab B Thu 10:00AM
163
Leveraging Touch Input on ios
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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 informationAssignment III: Graphing Calculator
Assignment III: Graphing Calculator Objective You will enhance your Calculator to create a graph of the program the user has entered which can be zoomed in on and panned around. Your app will now work
More informationBuilding for Voice with Siri Shortcuts
#WWDC18 Building for Voice with Siri Shortcuts Session 214 Amit Jain, Siri Ayaka Nonaka, Siri 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationWhat's New in Core Spotlight
Session System Frameworks #WWDC17 What's New in Core Spotlight Search on macos and ios 231 John Hörnkvist, Spotlight Lyn Fong, Spotlight 2017 Apple Inc. All rights reserved. Redistribution or public display
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 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 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 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 informationAccessibility on OS X
Frameworks #WWDC14 Accessibility on OS X New Accessibility API Session 207 Patti Hoa Accessibility Engineer! Chris Dolan Accessibility Engineer 2014 Apple Inc. All rights reserved. Redistribution or public
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 informationFinding Bugs Using Xcode Runtime Tools
Session Developer Tools #WWDC17 Finding Bugs Using Xcode Runtime Tools 406 Kuba Mracek, Program Analysis Engineer Vedant Kumar, Compiler Engineer 2017 Apple Inc. All rights reserved. Redistribution or
More informationAssignment III: Graphing Calculator
Assignment III: Graphing Calculator Objective You will enhance your Calculator to create a graph of the program the user has entered which can be zoomed in on and panned around. Your app will now work
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 informationIntroducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music
Session Media #WWDC17 Introducing MusicKit 502 Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without
More informationWriting Energy Efficient Apps
Session App Frameworks #WWDC17 Writing Energy Efficient Apps 238 Daniel Schucker, Software Power Engineer Prajakta Karandikar, Software Power Engineer 2017 Apple Inc. All rights reserved. Redistribution
More informationWhat s New in LLDB. Debug your way to fame and glory #WWDC15. Developer Tools. Session 402
Developer Tools #WWDC15 What s New in LLDB Debug your way to fame and glory Session 402 Kate Stone Software Behavioralist Sean Callanan Master of Expressions Enrico Granata Data Wizard 2015 Apple Inc.
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 informationVision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together
Session Media #WWDC17 Vision Framework Building on Core ML 506 Brett Keating, Apple Manager Frank Doepke, He who wires things together 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationStanford CS193p. Developing Applications for ios. Winter CS193p. Winter 2017
Stanford Developing Applications for ios Today Timer Periodically execute a block of code Blinking FaceIt Demo Animation Animating changes to UIViews Smoother Blinking FaceIt Head-shaking FaceIt Animating
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 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 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 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 informationCreating Audio Apps for watchos
Session #WWDC18 Creating Audio Apps for watchos 504 Neil Desai, watchos Frameworks Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
More informationWhat s New in Swift Playgrounds
Session Developer Tools #WWDC17 What s New in Swift Playgrounds 408 Connor Wakamo, Playgrounds Engineer Grace Kendall, Playgrounds Engineer Najla Bulous, Playgrounds Engineer 2017 Apple Inc. All rights
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 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 informationEXERCISES RELATED TO ios PROGRAMMING
EXERCISES RELATED TO ios PROGRAMMING Kari Laitinen http://www.naturalprogramming.com 2017-08-30 File created. 2017-09-21 Last modification. 1 Kari Laitinen EXERCISES WITH PROGRAM Animals.swift With these
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 informationNew Ways to Work with Workouts
Session #WWDC18 New Ways to Work with Workouts 707 Niharika Bedekar, Fitness Software Engineer Karim Benhmida, Health Software Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display
More informationLocalization Best Practices on tvos
Session App Frameworks #WWDC17 Localization Best Practices on tvos 248 Joaquim Lobo Silva, Internationalization Software Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not
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 informationios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout
ios DeCal : Lecture 2 Structure of ios Applications: MVC and Auto Layout Overview : Today s Lecture Model View Controller Design Pattern Creating Views in Storyboard Connecting your Views to Code Auto
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 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 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 informationWhat s New in Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops
Session Media #WWDC17 What s New in Audio 501 Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops 2017 Apple Inc. All rights reserved. Redistribution
More informationThread Sanitizer and Static Analysis
Developer Tools #WWDC16 Thread Sanitizer and Static Analysis Help with finding bugs in your code Session 412 Anna Zaks Manager, Program Analysis Team Devin Coughlin Engineer, Program Analysis Team 2016
More informationSceneKit in Swift Playgrounds
Session Graphics and Games #WWDC17 SceneKit in Swift Playgrounds 605 Michael DeWitt, Gem Collector Lemont Washington, Draw Call Blaster 2017 Apple Inc. All rights reserved. Redistribution or public display
More informationSeamless Linking to Your App
App Frameworks #WWDC15 Seamless Linking to Your App Session 509 Conrad Shultz Safari and WebKit Software Engineer Jonathan Grynspan Core Services Software Engineer 2015 Apple Inc. All rights reserved.
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 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 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 informationCore Data Best Practices
#WWDC18 Core Data Best Practices Session 224 Scott Perry, Engineer Nick Gillett, Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
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 informationITP 342 Mobile App Dev. Interface Components
ITP 342 Mobile App Dev Interface Components Human Interface Guidelines ios Human Interface Guidelines (HIG) https://developer.apple.com/ library/ios/documentation/us erexperience/conceptual/m obilehig/index.html
More informationCross Platform Nearby Networking
Core OS #WWDC14 Cross Platform Nearby Networking Session 709 Demijan Klinc Software Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
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 informationWhat s New in Notifications
System Frameworks #WWDC15 What s New in Notifications Session 720 Michele Campeotto ios Notifications Gokul Thirumalai Apple Push Notification Service 2015 Apple Inc. All rights reserved. Redistribution
More informationITP 342 Mobile App Dev. Interface Builder in Xcode
ITP 342 Mobile App Dev Interface Builder in Xcode New Project From the Main Menu, select the File à New à Project option For the template, make sure Application is selected under ios on the left-hand side
More informationVA DAP App ios Users Guide
VA DAP App ios Users Guide Table of Contents Getting Started with the VA DAP App... 1 Installing the VA DAP App... 1 Logging into the App and Opening Components... 1 Logging out of the VA DAP App... 2
More informationLocalizing with Xcode 9
Session Developer Tools #WWDC17 Localizing with Xcode 9 401 Sara Radi, Software Engineer Aya Siblini, Software Engineer Chris Hanson, Software Engineer 2017 Apple Inc. All rights reserved. Redistribution
More informationCSE 438: Mobile Application Development Lab 2: Virtual Pet App
CSE 438: Mobile Application Development Lab 2: Virtual Pet App Overview In this lab, you will create an app to take care of your very own virtual pets! The app will only have one screen and simple logic,
More information