Enhancing your apps for the next dimension of touch
|
|
- Jocelin Shaw
- 5 years ago
- Views:
Transcription
1 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 reserved. Redistribution or public display not permitted without written permission from Apple.
2 Agenda
3 Agenda Overview of 3D Touch
4 Agenda Overview of 3D Touch Home Screen Quick Actions
5 Agenda Overview of 3D Touch Home Screen Quick Actions Peek and Pop
6 Agenda NEW Overview of 3D Touch Home Screen Quick Actions Peek and Pop UIPreviewInteraction
7 Overview of 3D Touch Tour across the system
8
9 647 x 1150
10 647 x 1150
11 647 x 1150
12 647 x 1150
13
14
15
16
17 647 x 1150
18 647 x 1150
19 Supporting 3D Touch
20 Supporting 3D Touch Accelerate access to existing features in your app
21 Supporting 3D Touch Accelerate access to existing features in your app Enable new immersive interactions
22 Supporting 3D Touch Accelerate access to existing features in your app Enable new immersive interactions Provide a consistent experience across ios
23 Home Screen Quick Actions Leap straight into action from the home screen
24 647 x 1150
25 647 x 1150
26 647 x 1150
27 647 x 1150
28 647 x 1150
29 647 x 1150
30 Home Screen Quick Actions Two types Static Dynamic
31 Home Screen Quick Actions Static
32 Home Screen Quick Actions Static Defined in your app s Info.plist
33 Home Screen Quick Actions Static Defined in your app s Info.plist Available as soon as your app has been installed
34 Home Screen Quick Actions Static Defined in your app s Info.plist Available as soon as your app has been installed
35 Home Screen Quick Actions Dynamic
36 Home Screen Quick Actions Dynamic Created by your app at runtime
37 Home Screen Quick Actions Dynamic Created by your app at runtime Available after the first launch of your app
38 Home Screen Quick Actions Dynamic Created by your app at runtime Available after the first launch of your app Shown after any static quick actions (space permitting)
39 Home Screen Quick Actions Dynamic Created by your app at runtime Available after the first launch of your app Shown after any static quick actions (space permitting) Can include a system icon, custom icon, or Address Book contact
40 Dynamic Quick Actions Using a contact for the icon let contactname = "Lexi Torres" var contacticon: UIApplicationShortcutIcon? = nil
41 Dynamic Quick Actions Using a contact for the icon let contactname = "Lexi Torres" var contacticon: UIApplicationShortcutIcon? = nil // Make sure to request access to the user's contacts first if CNContactStore.authorizationStatus(for:.contacts) ==.authorized { }
42 Dynamic Quick Actions Using a contact for the icon let contactname = "Lexi Torres" var contacticon: UIApplicationShortcutIcon? = nil // Make sure to request access to the user's contacts first if CNContactStore.authorizationStatus(for:.contacts) ==.authorized { let predicate = CNContact.predicateForContacts(matchingName: contactname) let contacts = try? CNContactStore().unifiedContacts(matching: predicate, keystofetch: []) }
43 Dynamic Quick Actions Using a contact for the icon let contactname = "Lexi Torres" var contacticon: UIApplicationShortcutIcon? = nil // Make sure to request access to the user's contacts first if CNContactStore.authorizationStatus(for:.contacts) ==.authorized { let predicate = CNContact.predicateForContacts(matchingName: contactname) let contacts = try? CNContactStore().unifiedContacts(matching: predicate, keystofetch: []) if let contact = contacts?.first { contacticon = UIApplicationShortcutIcon(contact: contact) } }
44 Dynamic Quick Actions Using a contact for the icon let contactname = "Lexi Torres" var contacticon: UIApplicationShortcutIcon? = nil // Make sure to request access to the user's contacts first if CNContactStore.authorizationStatus(for:.contacts) ==.authorized { let predicate = CNContact.predicateForContacts(matchingName: contactname) let contacts = try? CNContactStore().unifiedContacts(matching: predicate, keystofetch: []) if let contact = contacts?.first { contacticon = UIApplicationShortcutIcon(contact: contact) } } let icon = contacticon?? UIApplicationShortcutIcon(type:.message)
45 Dynamic Quick Actions Creating and registering // Create a dynamic quick action using the icon let type = "com.company.app.sendchatto" let subtitle = "Send a chat" let shortcutitem1 = UIApplicationShortcutItem(type: type, localizedtitle: contactname, localizedsubtitle: subtitle, icon: icon)
46 Dynamic Quick Actions Creating and registering // Create a dynamic quick action using the icon let type = "com.company.app.sendchatto" let subtitle = "Send a chat" let shortcutitem1 = UIApplicationShortcutItem(type: type, localizedtitle: contactname, localizedsubtitle: subtitle, icon: icon) // Repeat as needed for any additional dynamic quick actions...
47 Dynamic Quick Actions Creating and registering // Create a dynamic quick action using the icon let type = "com.company.app.sendchatto" let subtitle = "Send a chat" let shortcutitem1 = UIApplicationShortcutItem(type: type, localizedtitle: contactname, localizedsubtitle: subtitle, icon: icon) // Repeat as needed for any additional dynamic quick actions... let shortcutitems = [shortcutitem1, shortcutitem2, shortcutitem3]
48 Dynamic Quick Actions Creating and registering // Create a dynamic quick action using the icon let type = "com.company.app.sendchatto" let subtitle = "Send a chat" let shortcutitem1 = UIApplicationShortcutItem(type: type, localizedtitle: contactname, localizedsubtitle: subtitle, icon: icon) // Repeat as needed for any additional dynamic quick actions... let shortcutitems = [shortcutitem1, shortcutitem2, shortcutitem3] // Register the dynamic quick actions to display on the home screen application.shortcutitems = shortcutitems
49 647 x 1150
50 Handling Quick Actions On app activation func application(application: UIApplication, performactionforshortcutitem shortcutitem: UIApplicationShortcutItem, completionhandler: Bool -> Void) { }
51 Handling Quick Actions On app activation func application(application: UIApplication, performactionforshortcutitem shortcutitem: UIApplicationShortcutItem, completionhandler: Bool -> Void) { let didhandle: Bool = /* handle the quick action using shortcutitem */ completionhandler(didhandle) }
52 Handling Quick Actions On app activation func application(application: UIApplication, performactionforshortcutitem shortcutitem: UIApplicationShortcutItem, completionhandler: Bool -> Void) { let didhandle: Bool = /* handle the quick action using shortcutitem */ completionhandler(didhandle) }
53 Handling Quick Actions On app launch func application(application: UIApplication, didfinishlaunchingwithoptions launchoptions: [NSObject: AnyObject]?) -> Bool { }
54 Handling Quick Actions On app launch func application(application: UIApplication, didfinishlaunchingwithoptions launchoptions: [NSObject: AnyObject]?) -> Bool { var performadditionalhandling = true if let shortcutitem = launchoptions?[uiapplicationlaunchoptionsshortcutitemkey] as? UIApplicationShortcutItem { /* handle the quick action using shortcutitem */ performadditionalhandling = false } return performadditionalhandling }
55 Handling Quick Actions On app launch func application(application: UIApplication, didfinishlaunchingwithoptions launchoptions: [NSObject: AnyObject]?) -> Bool { var performadditionalhandling = true if let shortcutitem = launchoptions?[uiapplicationlaunchoptionsshortcutitemkey] as? UIApplicationShortcutItem { /* handle the quick action using shortcutitem */ performadditionalhandling = false } return performadditionalhandling }
56 Handling Quick Actions On app launch func application(application: UIApplication, didfinishlaunchingwithoptions launchoptions: [NSObject: AnyObject]?) -> Bool { var performadditionalhandling = true if let shortcutitem = launchoptions?[uiapplicationlaunchoptionsshortcutitemkey] as? UIApplicationShortcutItem { /* handle the quick action using shortcutitem */ performadditionalhandling = false } return performadditionalhandling }
57 Home Screen Quick Actions Best practices
58 Home Screen Quick Actions Best practices Every app should provide quick actions
59 Home Screen Quick Actions Best practices Every app should provide quick actions Focus on providing quick access to high-value tasks
60 Home Screen Quick Actions Best practices Every app should provide quick actions Focus on providing quick access to high-value tasks Make quick actions predictable
61 Home Screen Quick Actions Best practices Every app should provide quick actions Focus on providing quick access to high-value tasks Make quick actions predictable Be prepared to handle dynamic quick actions from a previous version of your app
62 Home Screen Quick Actions Best practices Every app should provide quick actions Focus on providing quick access to high-value tasks Make quick actions predictable Be prepared to handle dynamic quick actions from a previous version of your app Don t add functionality that is only accessible using quick actions
63 Peek and Pop Seamlessly preview and navigate to content Peter Hajas UIKit Frameworks Engineer
64
65
66
67
68
69 Preview
70
71
72 Commit
73 Adding Peek and Pop to Your App Components of the interaction
74 Adding Peek and Pop to Your App Components of the interaction Registered View Controller
75 Adding Peek and Pop to Your App Components of the interaction Registered View Controller Source
76 Adding Peek and Pop to Your App Components of the interaction Registered View Controller Previewed View Controller Source
77 Adding Peek and Pop to Your App Components of the interaction Registered View Controller Previewed View Controller Source
78 Adding Peek and Pop to Your App Conforming to UIViewControllerPreviewingDelegate class ChatTableViewController : UITableViewController, UIViewControllerPreviewingDelegate
79 Adding Peek and Pop to Your App Conforming to UIViewControllerPreviewingDelegate class ChatTableViewController : UITableViewController, UIViewControllerPreviewingDelegate
80 Adding Peek and Pop to Your App Registering for previewing override func viewdidload() { super.viewdidload() } registerforpreviewing(with: self, sourceview: tableview)
81 Adding Peek and Pop to Your App Registering for previewing override func viewdidload() { super.viewdidload() } registerforpreviewing(with: self, sourceview: tableview)
82 Adding Peek and Pop to Your App Registering for previewing override func viewdidload() { super.viewdidload() } registerforpreviewing(with: self, sourceview: tableview)
83 Adding Peek and Pop to Your App Providing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, viewcontrollerforlocation location: CGPoint) -> UIViewController? { }
84 Adding Peek and Pop to Your App Providing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, viewcontrollerforlocation location: CGPoint) -> UIViewController? { }
85 Adding Peek and Pop to Your App Providing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, viewcontrollerforlocation location: CGPoint) -> UIViewController? { guard let indexpath = tableview.indexpathforrow(at: location) else { return nil } }
86 Adding Peek and Pop to Your App Providing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, viewcontrollerforlocation location: CGPoint) -> UIViewController? { guard let indexpath = tableview.indexpathforrow(at: location) else { return nil } let chatdetailviewcontroller =... chatdetailviewcontroller.chatitem = chatitem(at: indexpath) }
87 Adding Peek and Pop to Your App Providing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, viewcontrollerforlocation location: CGPoint) -> UIViewController? { guard let indexpath = tableview.indexpathforrow(at: location) else { return nil } let chatdetailviewcontroller =... chatdetailviewcontroller.chatitem = chatitem(at: indexpath) let cellrect = tableview.rectforrow(at: indexpath) let sourcerect = previewingcontext.sourceview.convert(cellrect, from: tableview) previewingcontext.sourcerect = sourcerect }
88 Adding Peek and Pop to Your App Providing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, viewcontrollerforlocation location: CGPoint) -> UIViewController? { guard let indexpath = tableview.indexpathforrow(at: location) else { return nil } let chatdetailviewcontroller =... chatdetailviewcontroller.chatitem = chatitem(at: indexpath) let cellrect = tableview.rectforrow(at: indexpath) let sourcerect = previewingcontext.sourceview.convert(cellrect, from: tableview) previewingcontext.sourcerect = sourcerect } return chatdetailviewcontroller
89
90
91 Adding Peek and Pop to Your App Committing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, commit viewcontrollertocommit: UIViewController) { show(viewcontrollertocommit, sender: self) }
92 Adding Peek and Pop to Your App Committing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, commit viewcontrollertocommit: UIViewController) { show(viewcontrollertocommit, sender: self) }
93 Adding Peek and Pop to Your App Committing a preview view controller func previewingcontext(_ previewingcontext: UIViewControllerPreviewing, commit viewcontrollertocommit: UIViewController) { show(viewcontrollertocommit, sender: self) }
94
95
96
97
98 Peek and Pop Preview quick actions Registered View Controller Previewed View Controller Source
99 Adding Peek and Pop to Your App Preview quick actions override func previewactionitems() -> [UIPreviewActionItem] { let heart = UIPreviewAction(title: " ", style:.default) { (action, viewcontroller) in // Send a heart } return [heart] }
100 Adding Peek and Pop to Your App Preview quick actions override func previewactionitems() -> [UIPreviewActionItem] { let heart = UIPreviewAction(title: " ", style:.default) { (action, viewcontroller) in // Send a heart } return [heart] }
101 Adding Peek and Pop to Your App Preview quick action groups let replyactions = [UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler)] let sendreply = UIPreviewActionGroup(title: "Send Reply ", style:.default, actions: replyactions)
102 Adding Peek and Pop to Your App Preview quick action groups let replyactions = [UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler)] let sendreply = UIPreviewActionGroup(title: "Send Reply ", style:.default, actions: replyactions)
103 Adding Peek and Pop to Your App Preview quick action groups let replyactions = [UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler), UIPreviewAction(title: " ", style:.default, handler: replyactionhandler)] let sendreply = UIPreviewActionGroup(title: "Send Reply ", style:.default, actions: replyactions)
104 Adding Peek and Pop to Your App Other preview quick action styles let save = UIPreviewAction(title: "Chat Saved", style:.selected, handler: savehandler) let block = UIPreviewAction(title: "Block", style:.destructive, handler: blockhandler)
105 Peek and Pop Best practices
106 Peek and Pop Best practices Content that can be tapped should support Peek and Pop
107 Peek and Pop Best practices Content that can be tapped should support Peek and Pop Return a preview view controller consistently
108 Peek and Pop Best practices Content that can be tapped should support Peek and Pop Return a preview view controller consistently Don t take too long in the previewing delegate
109 Peek and Pop Best practices Content that can be tapped should support Peek and Pop Return a preview view controller consistently Don t take too long in the previewing delegate Set the previewing context sourcerect
110 NEW UIPreviewInteraction Peek and Pop feel with your user interface
111
112
113
114
115
116
117
118
119
120
121
122
123 UIPreviewInteraction Same Peek and Pop Force Processing + Automatic Haptic + Feedback Your User Interface
124 UIPreviewInteraction UIPreviewInteractionDelegate extension ChatDetailViewController : UIPreviewInteractionDelegate
125 UIPreviewInteraction Creating the UIPreviewInteraction override func viewdidload() { super.viewdidload() } replypreviewinteraction = UIPreviewInteraction(view: view) replypreviewinteraction.delegate = self
126 UIPreviewInteraction Creating the UIPreviewInteraction override func viewdidload() { super.viewdidload() } replypreviewinteraction = UIPreviewInteraction(view: view) replypreviewinteraction.delegate = self
127 UIPreviewInteraction Starting the interaction previewinteractionshouldbegin() Preview
128 UIPreviewInteraction State transitions Preview
129 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview
130 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) 0.80 Preview
131 UIPreviewInteraction State transitions 0.10 previewinteraction(didupdatepreviewtransition:ended:) Preview
132 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview
133 UIPreviewInteraction Preview transition func previewinteraction(_ previewinteraction: UIPreviewInteraction, didupdatepreviewtransition transitionprogress: CGFloat, ended: Bool) { updateforpreview(progress: transitionprogress) if ended { completepreview() } }
134 UIPreviewInteraction Preview transition func previewinteraction(_ previewinteraction: UIPreviewInteraction, didupdatepreviewtransition transitionprogress: CGFloat, ended: Bool) { updateforpreview(progress: transitionprogress) if ended { completepreview() } }
135 UIPreviewInteraction Preview transition func previewinteraction(_ previewinteraction: UIPreviewInteraction, didupdatepreviewtransition transitionprogress: CGFloat, ended: Bool) { updateforpreview(progress: transitionprogress) if ended { completepreview() } }
136 UIPreviewInteraction Cancellation func previewinteractiondidcancel(_ previewinteraction: UIPreviewInteraction) { UIView.animate(withDuration: 0.4) { self.updateforpreview(progress: 0) self.resettoinitialappearance() } }
137 UIPreviewInteraction Cancellation func previewinteractiondidcancel(_ previewinteraction: UIPreviewInteraction) { UIView.animate(withDuration: 0.4) { self.updateforpreview(progress: 0) self.resettoinitialappearance() } }
138 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview
139 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
140 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
141 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) 0.10 Preview previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
142 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
143 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview 0.20 previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
144 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview 0.10 previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
145 UIPreviewInteraction State transitions previewinteraction(didupdatepreviewtransition:ended:) Preview previewinteraction(didupdatepreviewtransition:ended:) previewinteraction(didupdatecommittransition:ended:) Commit
146 UIPreviewInteraction Commit transition func previewinteraction(_ previewinteraction: UIPreviewInteraction, didupdatecommittransition transitionprogress: CGFloat, ended: Bool) { updateforcommit(progress: transitionprogress) if ended { completecommit() } }
147 UIPreviewInteraction Commit transition func previewinteraction(_ previewinteraction: UIPreviewInteraction, didupdatecommittransition transitionprogress: CGFloat, ended: Bool) { updateforcommit(progress: transitionprogress) if ended { completecommit() } }
148 UIPreviewInteraction Commit transition func previewinteraction(_ previewinteraction: UIPreviewInteraction, didupdatecommittransition transitionprogress: CGFloat, ended: Bool) { updateforcommit(progress: transitionprogress) if ended { completecommit() } }
149 Low-Level Force API
150 Low-Level Force API Normalized access to force data
151 Low-Level Force API Normalized access to force data Properties on UITouch: force and maximumpossibleforce force maximumpossibleforce
152 Low-Level Force API Normalized access to force data Properties on UITouch: force and maximumpossibleforce force maximumpossibleforce Available on devices that support 3D Touch or Apple Pencil
153 Low-Level Force API Normalized access to force data Properties on UITouch: force and maximumpossibleforce force maximumpossibleforce Available on devices that support 3D Touch or Apple Pencil Leveraging Touch Input on ios Pacific Heights Thursday 10:00AM
154 Summary
155 Summary Home screen quick actions let you jump straight into action
156 Summary Home screen quick actions let you jump straight into action Peek and Pop allow you to quickly preview and navigate to content
157 Summary Home screen quick actions let you jump straight into action Peek and Pop allow you to quickly preview and navigate to content UIPreviewInteraction opens up new possibilities to make your app more immersive
158 Summary Home screen quick actions let you jump straight into action Peek and Pop allow you to quickly preview and navigate to content UIPreviewInteraction opens up new possibilities to make your app more immersive Users expect your apps to support 3D Touch
159 More Information
160 Related Sessions Advances in UIKit Animations and Transitions Pacific Heights Wednesday 5:00PM Leveraging Touch Input on ios Pacific Heights Thursday 10:00AM
161 Labs Cocoa Touch and 3D Touch Lab Frameworks Lab C Friday 10:30AM
162
Cocoa 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 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 informationLeveraging 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 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 informationModern 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 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 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 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 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 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 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 informationTables. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Tables Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Table View Controller Table View Table Cells
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 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 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 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 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 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 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 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 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 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 informationMultitasking Support on the ios Platform
Multitasking Support on the ios Platform Priya Rajagopal Invicara (www.invicara.com) @rajagp Multitasking on ios? Multitasking allows apps to perform certain tasks in the background while you're using
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 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 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 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 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 informationDocument Version Date: 1st March, 2015
7 Minute Fitness: ios(swift) Application Document Version 1.0.1 Date: 1st March, 2015 2 [7 MINUTE FITNESS: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance
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 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 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 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 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 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 informationNews- ipad: ios(swift) Application
News- ipad: ios(swift) Application Document Version 1.0.1 Date: 9 th Nov, 2014 2 [NEWS- IPAD: APP DOCUMENTATION] Important Notes:... 6 AppDelegate Class Reference... 7 Tasks... 7 Instance Methods... 7
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 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 informationProduced by. Design Patterns. MSc in Computer Science. Eamonn de Leastar
Design Patterns MSc in Computer Science Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie
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 informationSocial Pinboard: ios(swift) Application
Social Pinboard: ios(swift) Application Document Version 1.0.1 Date: 15 th May, 2015 2 [SOCIAL PINBOARD: APP DOCUMENTATION] Important Notes:... 5 AppDelegate Class Reference... 6 Tasks... 6 Instance Methods...
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 informationITP 342 Mobile App Dev. Table Views
ITP 342 Mobile App Dev Table Views Tables A table presents data as a scrolling, singlecolumn list of rows that can be divided into sections or groups. Use a table to display large or small amounts of information
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 informationStream iphone Sensor Data to Adafruit IO
Stream iphone Sensor Data to Adafruit IO Created by Trevor Beaton Last updated on 2019-01-22 04:07:41 PM UTC Guide Contents Guide Contents Overview In this learn guide we will: Before we start... Downloading
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 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 informationUse the API or contact customer service to provide us with the following: General ios Android App Name (friendly one-word name)
Oplytic Attribution V 1.2.0 December 2017 Oplytic provides attribution for app-to-app and mobile-web-to-app mobile marketing. Oplytic leverages the tracking provided by Universal Links (ios) and App Links
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 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 informationApp. Chapter 19 App. App (ViewController) App. Single View Application Single View Application View. (View Controller)
Chapter 19 App App (ViewController) App 19.1 App App Single View Application Single View Application View Controller View Controller Label Button Button (View Controller) 2 View Controller Utility Area
More information1 Build Your First App. The way to get started is to quit talking and begin doing. Walt Disney
1 Build Your First App The way to get started is to quit talking and begin doing. Walt Disney Copyright 2015 AppCoda Limited All rights reserved. Please do not distribute or share without permission. No
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 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 informationIntroducing the Contacts Framework
App Frameworks #WWDC15 Introducing the Contacts Framework For OS X, ios, and watchos Session 223 Bruce Stadnyk ios Contacts Engineer Dave Dribin OS X Contacts Engineer Julien Robert ios Contacts Engineer
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 informationITP 342 Mobile App Dev. Table Views
ITP 342 Mobile App Dev Table Views Table Views The most common mechanism used to display lists of data to the user Highly configurable objects that can be made to look practically any way you want them
More informationWhat s New in SiriKit
Session App Frameworks #WWDC17 What s New in SiriKit 214 Sirisha Yerroju, SiriKit Engineer Tin Tran, SiriKit Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted
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 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 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 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 informationCloudKit Tips And Tricks
System Frameworks #WWDC15 CloudKit Tips And Tricks Session 715 Nihar Sharma CloudKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
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 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 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 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 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 informationEngineering for Testability
Session Developer Tools #WWDC17 Engineering for Testability 414 Brian Croom, Xcode Engineer Greg Tracy, Xcode Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted
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 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 informationChapter 22 TableView TableView. TableView ios. ViewController. Cell TableViewCell TableView
Chapter 22 TableView TableView Android TableView ListView App 22.1 TableView TableView Storyboard Table View ViewController TableView ios Cell TableViewCell TableView Table View Cell Cell ImageView (imageview)
More informationStanford CS193p. Developing Applications for ios. Fall CS193p. Fall
Stanford Developing Applications for ios Today More about Documents Demo Use Codable to create a JSON representation of our document Store it in the filesystem Think better of that and let UIDocument store
More informationNotifications. Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder
Notifications Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Alerts Internal notifications Local
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 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 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 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 informationITP 342 Mobile App Dev. Delegates
ITP 342 Mobile App Dev Delegates Protocol A protocol is a declaration of a list of methods Classes that conform to the protocol implement those methods A protocol can declare two kinds of methods: required
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 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 informationITP 342 Mobile App Dev. Animation
ITP 342 Mobile App Dev Animation Views Views are the fundamental building blocks of your app's user interface, and the UIView class defines the behaviors that are common to all views. Responsibilities
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 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 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 informationMiscellaneous Topics
Miscellaneous Topics Mobile Application Development in ios School of EECS Washington State University Instructor: Larry Holder Mobile Application Development in ios 1 Outline Renaming Xcode project and
More informationCOMPLETE TUTORIAL COURSE. Learn to make tvos LE. apps with real-worldam S F
HACKING WITH SWIFT COMPLETE TUTORIAL COURSE Learn to make tvos LE P apps with real-worldam S Swift projects REEPaul Hudson F Project 1 Randomly Beautiful 2 www.hackingwithswift.com Setting up In this first
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 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 informationBuilding Mapping Apps for ios With Swift
Building Mapping Apps for ios With Swift Jeff Linwood This book is for sale at http://leanpub.com/buildingmappingappsforioswithswift This version was published on 2017-09-09 This is a Leanpub book. Leanpub
More informationIntroducing the Photos Frameworks
Media #WWDC14 Introducing the Photos Frameworks Session 511 Adam Swift ios Photos Frameworks 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission
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 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 informationBuilding the App - Part 5 - Adding a Link
Unit 4 - Coding For Your App Copy and Paste the code below exactly where the tutorials tell you. DO NOT COPY TEXT IN RED. Building the App - Part 5 - Adding a Link XCODE 7 @IBAction func Button1(_ sender:
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 informationIntroductory ios Development
Introductory ios Development 152-164 Unit 5 - Multi-View Apps Quick Links & Text References What is a Delegate? What is a Protocol? Delegates, Protocols and TableViews Creating a Master-Detail App Modifying
More information