Extending Your Apps with SiriKit

Size: px
Start display at page:

Download "Extending Your Apps with SiriKit"

Transcription

1 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. Redistribution or public display not permitted without written permission from Apple.

2 Adding SiriKit Intents Extension Intents UI Extension App

3 Adding SiriKit Intents Extension Intents UI Extension App Resolve Confirm Handle

4 Agenda Preparing to adopt SiriKit

5 Agenda Preparing to adopt SiriKit Adding your first Intents extension

6 Agenda Preparing to adopt SiriKit Adding your first Intents extension Providing a user interface in Siri

7 UnicornChat

8 Preparing to Adopt SiriKit

9 Preparing to Adopt SiriKit

10 Preparing to Adopt SiriKit Embedded frameworks

11 Preparing to Adopt SiriKit Embedded frameworks Unit tests

12 Preparing to Adopt SiriKit Embedded frameworks Unit tests Architecting your extensions

13 Preparing to Adopt SiriKit Embedded frameworks

14 Preparing to Adopt SiriKit Embedded frameworks Networking

15 Preparing to Adopt SiriKit Embedded frameworks Networking Data model

16 Preparing to Adopt SiriKit Embedded frameworks Networking Data model Decision-making logic

17 Preparing to Adopt SiriKit Embedded frameworks Networking Data model Decision-making logic User interfaces

18 Preparing to Adopt SiriKit Embedded frameworks Data Decision-making model logic Networking User interfaces

19 Preparing to Adopt SiriKit Embedded frameworks Data Decision-making model logic Networking User interfaces App Extension Best Practices WWDC 2015

20 Preparing to Adopt SiriKit Unit tests

21 Preparing to Adopt SiriKit Unit tests Mock intents

22 Preparing to Adopt SiriKit Unit tests Mock intents Make sure your app responds appropriately

23 Preparing to Adopt SiriKit Architecting your extensions SendMessageIntent StartAudioCallIntent StartVideoCallIntent

24 Preparing to Adopt SiriKit Architecting your extensions SendMessageIntent StartAudioCallIntent StartVideoCallIntent

25 Preparing to Adopt SiriKit Architecting your extensions SendMessageIntent StartAudioCallIntent StartVideoCallIntent

26 Preparing to Adopt SiriKit Architecting your extensions SendMessageIntent StartAudioCallIntent StartVideoCallIntent

27 Adding Your First Intents Extension Diana Huang SiriKit Engineering

28 Getting Started

29 Getting Started Add extension target

30 Getting Started Add extension target Configure Info.plist

31 Getting Started Add extension target Configure Info.plist Modify principal class

32 Intents Extension Adding an extension target

33 Intents Extension Adding an extension target

34 Intents Extension Adding an extension target

35 Intents Extension Info.plist

36 Intents Extension Info.plist Info.plist NSExtension NSExtensionAttributes IntentsSupported IntentsRestrictedWhileLocked

37 Intents Extension Info.plist Info.plist NSExtension NSExtensionAttributes IntentsSupported IntentsRestrictedWhileLocked

38 Intents Extension Info.plist Info.plist NSExtension NSExtensionAttributes IntentsSupported IntentsRestrictedWhileLocked

39 Intents Extension Principal class

40 Intents Extension Principal class Subclass of INExtension

41 Intents Extension Principal class Subclass of INExtension INIntentHandlerProviding

42 Intents Extension Principal class Subclass of INExtension INIntentHandlerProviding handlerforintent

43 Intents Extension Principal class Subclass of INExtension INIntentHandlerProviding handlerforintent handler class must conform to specific intent handling protocol

44 Demo Creating my first Intents extension

45 Resolve, Confirm, Handle Resolve

46 Resolve, Confirm, Handle Resolve Validate and clarify parameters

47 Resolve, Confirm, Handle Resolve Validate and clarify parameters Implement it if you might need Siri to help ask users

48 Resolve, Confirm, Handle Resolve

49 Resolve, Confirm, Handle Resolve recipients

50 Resolve, Confirm, Handle Resolve Contact search recipients

51 Resolve, Confirm, Handle Resolve Contact search recipients Exactly one match

52 Resolve, Confirm, Handle Resolve Contact search recipients Exactly one match Two or more matches

53 Resolve, Confirm, Handle Resolve Contact search recipients Exactly one match Two or more matches No match

54 Resolve, Confirm, Handle Resolve Contact search Exactly one match Resolve recipients Two or more matches No match

55 Resolve, Confirm, Handle Resolve Resolve recipients

56 Resolve, Confirm, Handle Resolve Contact search Resolve recipients

57 Resolve, Confirm, Handle Resolve Contact search Resolve recipients content

58 Resolve, Confirm, Handle Resolve Contact search Resolve recipients content Need a value to proceed

59 Resolve, Confirm, Handle Confirm Resolve recipients content

60 Resolve, Confirm, Handle Confirm Resolve recipients content Confirm

61 Resolve, Confirm, Handle Confirm Dry run Resolve recipients content Tell Siri how it went Confirm

62 Resolve, Confirm, Handle Confirm Dry run Resolve recipients content Tell Siri how it went Confirm authenticated?

63 Resolve, Confirm, Handle Handle Just handle it! Resolve recipients content Again, tell Siri how it went Confirm authenticated? Handle

64 Demo Filling in my app logic

65 NSUserActivity Resume state in your app

66 NSUserActivity Resume state in your app Siri creates one by default

67 NSUserActivity Resume state in your app Siri creates one by default ActivityType is intent class name

68 NSUserActivity Resume state in your app Siri creates one by default ActivityType is intent class name You can provide one to pass custom data

69 NSUserActivity Resume state in your app Siri creates one by default ActivityType is intent class name You can provide one to pass custom data INInteraction

70 Demo Providing my own NSUserActivity

71 User-Specific Vocabulary

72 User-Specific Vocabulary Phrases unique to your app and user

73 User-Specific Vocabulary Phrases unique to your app and user e.g. contact names

74 User-Specific Vocabulary Phrases unique to your app and user e.g. contact names Help Siri understand what users mean

75 User-Specific Vocabulary Phrases unique to your app and user e.g. contact names Help Siri understand what users mean INVocabulary API call from main app

76 User-Specific Vocabulary Phrases unique to your app and user e.g. contact names Help Siri understand what users mean INVocabulary API call from main app NOT your extension

77 // User-Specific Vocabulary - UnicornChat class UCAddressBookManager { // This method is called whenever there is a contact change func updatesiriknowledgeofcontacts() { // provide the updated list of favorites' unicorn names to Siri var unicornnames = OrderedSet(array: self.sortedfavoriteunicornnames) INVocabulary.shared().setVocabularyStrings(unicornNames, of: INVocabularyStringType.contactName) } }

78 // User-Specific Vocabulary - UnicornChat class UCAddressBookManager { // This method is called whenever there is a contact change func updatesiriknowledgeofcontacts() { // provide the updated list of favorites' unicorn names to Siri var unicornnames = OrderedSet(array: self.sortedfavoriteunicornnames) INVocabulary.shared().setVocabularyStrings(unicornNames, of: INVocabularyStringType.contactName) } }

79 // User-Specific Vocabulary - UnicornChat class UCAddressBookManager { // This method is called whenever there is a contact change func updatesiriknowledgeofcontacts() { // provide the updated list of favorites' unicorn names to Siri var unicornnames = OrderedSet(array: self.sortedfavoriteunicornnames) INVocabulary.shared().setVocabularyStrings(unicornNames, of: INVocabularyStringType.contactName) } }

80 // User-Specific Vocabulary - UnicornChat class UCAddressBookManager { // This method is called whenever there is a contact change func updatesiriknowledgeofcontacts() { // provide the updated list of favorites' unicorn names to Siri DispatchQueue(label: "UCSiriVocabulary").asynchronously(execute: { () -> Void in var unicornnames = OrderedSet(array: self.sortedfavoriteunicornnames) INVocabulary.shared().setVocabularyStrings(unicornNames, of: INVocabularyStringType.contactName) }) } }

81 // User-Specific Vocabulary - UnicornChat class UCAddressBookManager { // This method is called whenever there is a contact change func updatesiriknowledgeofcontacts() { // provide the updated list of favorites' unicorn names to Siri DispatchQueue(label: "UCSiriVocabulary").asynchronously(execute: { () -> Void in var unicornnames = OrderedSet(array: self.sortedfavoriteunicornnames) INVocabulary.shared().setVocabularyStrings(unicornNames, of: INVocabularyStringType.contactName) }) } }

82 // User-Specific Vocabulary - UnicornChat class UCAddressBookManager { // This method is called whenever there is a contact change func updatesiriknowledgeofcontacts() { // provide the updated list of favorites' unicorn names to Siri DispatchQueue(label: "UCSiriVocabulary").asynchronously(execute: { () -> Void in var unicornnames = OrderedSet(array: self.sortedfavoriteunicornnames) INVocabulary.shared().setVocabularyStrings(unicornNames, of: INVocabularyStringType.contactName) }) } }

83

84 Providing a User Interface with SiriKit Scott Andrus SiriKit Engineering

85 UI Extensions Increase Your App s Impact

86 UI Extensions Increase Your App s Impact Your view alongside Siri

87 UI Extensions Increase Your App s Impact Your view alongside Siri Experiences unique to your application

88 UI Extensions Increase Your App s Impact Your view alongside Siri Experiences unique to your application User-specific customization

89 UI Extensions Increase Your App s Impact Your view alongside Siri Experiences unique to your application User-specific customization Information Siri might not otherwise show

90 UI Extensions Increase Your App s Impact Your view alongside Siri Experiences unique to your application User-specific customization Information Siri might not otherwise show

91 Add UI Extension Target to Xcode How to get started

92 Add UI Extension Target to Xcode How to get started Add Intents UI Extension target

93 Add UI Extension Target to Xcode How to get started Add Intents UI Extension target Embed in application

94 Intents UI Extension Info.plist Info.plist NSExtension NSExtensionAttributes IntentsSupported

95 Intents UI Extension Info.plist Info.plist NSExtension NSExtensionAttributes IntentsSupported

96 Siri

97 Siri configure(with interaction:...)

98 UI extension Siri configure(with interaction:...)

99 UI extension Siri UIViewController : INUIHostedViewControlling configure(with interaction:...)

100 UI extension Siri INInteraction UIViewController : INUIHostedViewControlling configure(with interaction:...)

101 INInteraction Breaking it down INIntent INIntentResponse INInteraction INIntentHandlingStatus

102 INInteraction Breaking it down The handled (or to-be-handled) INIntent INIntent INIntentResponse INInteraction INIntentHandlingStatus

103 INInteraction Breaking it down The handled (or to-be-handled) INIntent INIntent The provided INIntentResponse INInteraction INIntentResponse INIntentHandlingStatus

104 INInteraction Breaking it down The handled (or to-be-handled) INIntent INIntent The provided INIntentResponse INIntentHandlingStatus INInteraction INIntentResponse INIntentHandlingStatus

105 Implementing Your View Controller

106 Implementing Your View Controller Principal class

107 Implementing Your View Controller Principal class Subclass of UIViewController

108 Implementing Your View Controller Principal class Subclass of UIViewController Configure with interaction

109 Implementing Your View Controller Principal class Subclass of UIViewController Configure with interaction Provided view context

110 Implementing Your View Controller Principal class Subclass of UIViewController Configure with interaction Provided view context

111 Implementing Your View Controller Principal class Subclass of UIViewController Configure with interaction Provided view context

112 Implementing Your View Controller Principal class Subclass of UIViewController Configure with interaction Provided view context Desired size in the completion

113 Demo Building a SiriKit UI extension

114

115 Siri Gives You Override Control

116 Siri Gives You Override Control Implement INUIHostedViewSiriProviding

117 Siri Gives You Override Control Implement INUIHostedViewSiriProviding Properties for displaying messages and maps

118 Siri Gives You Override Control Implement INUIHostedViewSiriProviding Properties for displaying messages and maps Opt-in to displaying a particular interface

119 Siri Gives You Override Control Implement INUIHostedViewSiriProviding Properties for displaying messages and maps Opt-in to displaying a particular interface Siri will accommodate your view s content

120 class IntentViewController: UIViewController, INUIHostedViewControlling, func configure(with interaction: INInteraction!, context: INUIHostedViewContext, completion: ((CGSize) -> Void)!) { // Configure your view completion(self.extensioncontext!.hostedviewmaximumallowedsize) } }

121 class IntentViewController: UIViewController, INUIHostedViewControlling, INUIHostedViewSiriProviding { func configure(with interaction: INInteraction!, context: INUIHostedViewContext, completion: ((CGSize) -> Void)!) { // Configure your view completion(self.extensioncontext!.hostedviewmaximumallowedsize) } var displaysmessage: Bool { return true } }

122 class IntentViewController: UIViewController, INUIHostedViewControlling, INUIHostedViewSiriProviding { func configure(with interaction: INInteraction!, context: INUIHostedViewContext, completion: ((CGSize) -> Void)!) { // Configure your view completion(self.extensioncontext!.hostedviewmaximumallowedsize) } var displaysmessage: Bool { return true } }

123 class IntentViewController: UIViewController, INUIHostedViewControlling, INUIHostedViewSiriProviding { func configure(with interaction: INInteraction!, context: INUIHostedViewContext, completion: ((CGSize) -> Void)!) { // Configure your view completion(self.extensioncontext!.hostedviewmaximumallowedsize) } var displaysmessage: Bool { return true } }

124 Demo Telling Siri about our interface

125

126

127 Considerations

128 Considerations Be memory conscious

129 Considerations Be memory conscious Minimum and maximum view sizes

130 Considerations Be memory conscious Minimum and maximum view sizes Flexible and adaptive layout patterns

131 Summary

132 Summary Prepare to adopt SiriKit

133 Summary Prepare to adopt SiriKit Add your first Intents extension

134 Summary Prepare to adopt SiriKit Add your first Intents extension Provide a user interface in Siri

135 More Information

136 Related Sessions Introducing SiriKit Presidio Wednesday 5:00PM App Extension Best Practices WWDC 2015

137 Labs SiriKit Lab Frameworks Lab C Thursday 3:00PM SiriKit Lab Frameworks Lab B Friday 9:00AM

138

Introduction to Siri Shortcuts

Introduction 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 information

What s New in SiriKit

What 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 information

Building for Voice with Siri Shortcuts

Building 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 information

Introducing SiriKit. Hey Siri, say hello to apps #WWDC16. App Frameworks. Session 217

Introducing 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 information

Using and Extending the Xcode Source Editor

Using 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 information

What s New in tvos #WWDC16. App Frameworks. Session 206. Hans Kim tvos Engineer

What 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 information

Implementing UI Designs in Interface Builder

Implementing 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 information

What s New in tvos 12

What 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 information

Introducing Password AutoFill for Apps

Introducing 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 information

Enhancing your apps for the next dimension of touch

Enhancing 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 information

What s New in Xcode App Signing

What 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 information

Mastering UIKit on tvos

Mastering 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 information

Monetize and Promote Your App with iad

Monetize 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 information

Enabling Your App for CarPlay

Enabling 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 information

Managing Documents In Your ios Apps

Managing 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 information

Modern User Interaction on ios

Modern User Interaction on ios App Frameworks #WWDC17 Modern User Interaction on ios Mastering the UIKit UIGesture System Session 219 Dominik Wagner, UIKit Engineer Michael Turner, UIKit Engineer Glen Low, UIKit Engineer 2017 Apple

More information

Seamless Linking to Your App

Seamless 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 information

Advanced Notifications

Advanced 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 information

Introducing On Demand Resources

Introducing 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 information

What s New in imessage Apps

What 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 information

Leveraging Touch Input on ios

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 information

What s New in Testing

What 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 information

Media and Gaming Accessibility

Media 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 information

What s New in watchos

What 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 information

Touch Bar Fundamentals

Touch 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 information

Quick Interaction Techniques for watchos

Quick 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 information

Data Delivery with Drag and Drop

Data 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 information

Building Watch Apps #WWDC15. Featured. Session 108. Neil Desai watchos Engineer

Building 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 information

Building Apps with Dynamic Type

Building 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 information

Creating Complications with ClockKit Session 209

Creating 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 information

Introducing the Modern WebKit API

Introducing 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 information

New UIKit Support for International User Interfaces

New 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 information

ios Accessibility Developing for everyone Session 201 Ian Fisch ios Accessibility

ios 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 information

Getting the Most Out of HealthKit

Getting 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 information

Getting the Most out of Playgrounds in Xcode

Getting 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 information

Introducing the Photos Frameworks

Introducing 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 information

imessage Apps and Stickers, Part 2

imessage 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 information

New Ways to Work with Workouts

New 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 information

Introducing Swift Playgrounds

Introducing 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 information

What's New in Core Spotlight

What'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 information

Accessibility on OS X

Accessibility 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 information

WatchKit In-Depth, Part 2

WatchKit 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 information

What s New in Core Data?

What 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 information

Building Faster in Xcode

Building 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 information

Creating Audio Apps for watchos

Creating 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 information

Accessibility on ios. Developing for everyone. Frameworks #WWDC14. Session 210 Clare Kasemset ios Accessibility

Accessibility 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 information

What s New in MapKit. App Frameworks #WWDC17. Fredrik Olsson

What 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 information

Using Grouped Notifications

Using 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 information

Core ML in Depth. System Frameworks #WWDC17. Krishna Sridhar, Core ML Zach Nation, Core ML

Core 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 information

Creating Extensions for ios and OS X, Part Two

Creating Extensions for ios and OS X, Part Two Frameworks #WWDC14 Creating Extensions for ios and OS X, Part Two Architecture Session 217 Damien Sorresso Overloaded Operator 2014 Apple Inc. All rights reserved. Redistribution or public display not

More information

Mastering Drag and Drop

Mastering 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 information

View Controller Advancements for ios8

View 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 information

Your Apps and the Future of macos Security

Your Apps and the Future of macos Security #WWDC18 Your Apps and the Future of macos Security Pierre-Olivier Martel, Security Engineering Manager Kelly Yancey, OS Security Garrett Jacobson, Trusted Execution 2018 Apple Inc. All rights reserved.

More information

Advanced Scrollviews and Touch Handling Techniques

Advanced 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 information

Designing for Apple Watch

Designing 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 information

What s New in CloudKit

What s New in CloudKit System Frameworks #WWDC15 What s New in CloudKit Session 704 Olivier Bonnet icloud Client Eric Krugler icloud Server 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

What's New in UIKit Dynamics and Visual Effects Session 229

What'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 information

Optimizing Swift Performance Session 409

Optimizing Swift Performance Session 409 Developer Tools #WWDC15 Optimizing Swift Performance Session 409 Nadav Rotem Manager, Swift Performance Team Michael Gottesman Engineer, Swift Performance Team Joe Grzywacz Engineer, Performance Tools

More information

Localizing with Xcode 9

Localizing 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 information

What s New in Swift Playgrounds

What 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 information

What s New in SpriteKit

What 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 information

Designing Great Apple Watch Experiences

Designing 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 information

Finding Bugs Using Xcode Runtime Tools

Finding 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 information

CarPlay Audio and Navigation Apps

CarPlay 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 information

Advances in TVMLKit. App Frameworks #WWDC17. Trevor Cortez, Localization Engineer Parry Panesar, tvos Engineer Jeremy Foo, tvos Engineer

Advances in TVMLKit. App Frameworks #WWDC17. Trevor Cortez, Localization Engineer Parry Panesar, tvos Engineer Jeremy Foo, tvos Engineer Session App Frameworks #WWDC17 Advances in TVMLKit 202 Trevor Cortez, Localization Engineer Parry Panesar, tvos Engineer Jeremy Foo, tvos Engineer 2017 Apple Inc. All rights reserved. Redistribution or

More information

What s New in NSCollectionView Session 225

What 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 information

Improving your Existing Apps with Swift

Improving 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 information

Thread Sanitizer and Static Analysis

Thread 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 information

Advances in AVFoundation Playback

Advances 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 information

lecture 10 UI/UX and Programmatic Design cs : spring 2018

lecture 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 information

Mysteries of Auto Layout, Part 1

Mysteries 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 information

INTRODUCTION TO ARCHITECTING YOUR IOS APP

INTRODUCTION TO ARCHITECTING YOUR IOS APP INTRODUCTION TO ARCHITECTING YOUR IOS APP AGENDA Goals of software architecture Design guidelines Practical tips GOALS OF SOFTWARE ARCHITECTURE GOALS OF SOFTWARE ARCHITECTURE Code is comprehensible for

More information

Creating Great App Previews

Creating 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 information

What s New in Notifications

What 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 information

Automatic Strong Passwords and Security Code AutoFill

Automatic Strong Passwords and Security Code AutoFill Session #WWDC18 Automatic Strong Passwords and Security Code AutoFill 204 Chelsea Pugh, ios Engineer Reza Abbasian, ios Engineer Harris Papadopoulos, ios Engineer 2018 Apple Inc. All rights reserved. Redistribution

More information

Writing Energy Efficient Apps

Writing 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 information

What s New in Energy Debugging

What s New in Energy Debugging #WWDC18 What s New in Energy Debugging Phillip Azar, Apple/Battery Life David Choi, Apple/Battery Life 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written

More information

What s New in ARKit 2

What 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 information

Advanced Debugging and the Address Sanitizer

Advanced Debugging and the Address Sanitizer Developer Tools #WWDC15 Advanced Debugging and the Address Sanitizer Finding your undocumented features Session 413 Mike Swingler Xcode UI Infrastructure Anna Zaks LLVM Program Analysis 2015 Apple Inc.

More information

Cocoa Touch Best Practices

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 information

Vision Framework. Building on Core ML. Media #WWDC17. Brett Keating, Apple Manager Frank Doepke, He who wires things together

Vision 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 information

What s New in Cocoa for macos

What 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 information

App Extension Best Practices

App 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 information

Adopting Advanced Features of the New UI

Adopting 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 information

Storyboards and Controllers on OS X

Storyboards 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 information

Creating Extensions for Safari

Creating Extensions for Safari Creating Extensions for Safari Part One Timothy Hatcher Safari and WebKit Engineer 2 3 HTML5 CSS3 JavaScript Native Code 4 Cross Platform Secure Crashes 5 What You ll Learn When to make a Safari Extension

More information

Getting to Know Swift Package Manager

Getting to Know Swift Package Manager #WWDC18 Getting to Know Swift Package Manager Session 411 Rick Ballard, SwiftPM Release Manager Boris Buegling, Developer Tools Engineer 2018 Apple Inc. All rights reserved. Redistribution or public display

More information

Cross Platform Nearby Networking

Cross 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 information

Power, Performance, and Diagnostics

Power, Performance, and Diagnostics Core OS #WWDC14 Power, Performance, and Diagnostics What's new in GCD and XPC Session 716 Daniel Steffen Darwin Runtime Engineer 2014 Apple Inc. All rights reserved. Redistribution or public display not

More information

Adapting to the New UI of OS X Yosemite

Adapting to the New UI of OS X Yosemite Frameworks #WWDC14 Adapting to the New UI of OS X Yosemite Session 209 Mike Stern User Experience Evangelist! Rachel Goldeen Cocoa Software Engineer! Patrick Heynen Cocoa Engineering Manager 2014 Apple

More information

Integrating Apps and Content with AR Quick Look

Integrating 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 information

Engineering for Testability

Engineering 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 information

Understanding Undefined Behavior

Understanding Undefined Behavior Session Developer Tools #WWDC17 Understanding Undefined Behavior 407 Fred Riss, Clang Team Ryan Govostes, Security Engineering and Architecture Team Anna Zaks, Program Analysis Team 2017 Apple Inc. All

More information

Localization Best Practices on tvos

Localization 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 information

What s New in TVMLKit

What s New in TVMLKit #WWDC18 What s New in TVMLKit Session 238 Jeremy Foo, tvos Engineering 2018 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. Web Inspector

More information

Audio Unit Extensions

Audio Unit Extensions Media #WWDC15 Audio Unit Extensions Session 508 Doug Wyatt Core Audio Plumber 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

More information

Core Data Best Practices

Core 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 information

Use the API or contact customer service to provide us with the following: General ios Android App Name (friendly one-word name)

Use 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 information

What s New in HomeKit

What s New in HomeKit App Frameworks #WWDC15 What s New in HomeKit Session 210 Anush Nadathur HomeKit Engineer Naveen Kommareddi HomeKit Engineer 2015 Apple Inc. All rights reserved. Redistribution or public display not permitted

More information

Introducing MusicKit. Media #WWDC17. Tim Parthemore, MusicKit Services Joel Lopes Da Silva, ios Music

Introducing 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 information