Introducing the Modern WebKit API

Size: px
Start display at page:

Download "Introducing the Modern WebKit API"

Transcription

1 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 permission from Apple.

2 WebKit Overview

3

4

5

6

7

8

9

10

11

12 WebKit in Your App

13 WebKit in Your App UIWebView UIKit.framework

14 WebKit in Your App UIWebView UIKit.framework WebView WebKit.framework

15 What You Will Learn

16 What You Will Learn Embedding web content in your app

17 What You Will Learn Embedding web content in your app Taking advantage of new features of the WebKit API

18 What You Will Learn Embedding web content in your app Taking advantage of new features of the WebKit API Customizing how your app interacts with web content

19 The Modern WebKit API

20 The Modern WebKit API

21 The Modern WebKit API Same on ios and OS X

22 The Modern WebKit API Same on ios and OS X Modern

23 The Modern WebKit API Same on ios and OS X Modern Streamlined

24 The Modern WebKit API Same on ios and OS X Modern Streamlined Multi-process architecture

25 The Modern WebKit API Features

26 The Modern WebKit API Features Responsive scrolling

27 The Modern WebKit API Features Responsive scrolling Fast JavaScript

28 The Modern WebKit API Features Responsive scrolling Fast JavaScript Built-in gestures

29 The Modern WebKit API Features Responsive scrolling Fast JavaScript Built-in gestures Easy app-webpage communication

30 Multi-process Architecture

31 Multi-process Architecture Web content runs in its own process

32 Multi-process Architecture Web content runs in its own process WKWebView Web Content Process WebKit

33 Multi-process Architecture Consistently responsive

34 Multi-process Architecture Consistently responsive Energy efficient

35 Multi-process Architecture

36 Multi-process Architecture WKWebView

37 Multi-process Architecture WKWebView Web Content Process WebKit

38 Multi-process Architecture WKWebView WKWebView Web Content Process WebKit

39 Multi-process Architecture WKWebView WKWebView Web Content Process Web Content Process WebKit WebKit

40 Multi-process Architecture WKWebView WKWebView WKWebView Web Content Process Web Content Process WebKit WebKit

41 Multi-process Architecture WKWebView WKWebView WKWebView Web Content Process Web Content Process WebKit WebKit

42 Multi-process Architecture WKWebView WKWebView WKWebView Web Content Process Web Content Process WebKit WebKit

43 Multi-process Architecture WKWebView WKWebView Web Content Process WebKit

44 Multi-process Architecture WKWebView Web Content Process WebKit

45 Multi-process Architecture

46 Adopting the Modern WebKit API

47 Adopting the Modern WebKit API WKPedia a Wikipedia browsing app

48 Adopting the Modern WebKit API Creating a WKWebView

49 Adopting the Modern WebKit API Creating a WKWebView WKWebView *webview = [[WKWebView alloc] initwithframe:myframe];

50 Adopting the Modern WebKit API Loading a webpage

51 Adopting the Modern WebKit API Loading a webpage NSURL *URL = [NSURL URLWithString:@"

52 Adopting the Modern WebKit API Loading a webpage NSURL *URL = [NSURL URLWithString:@" NSURLRequest *request = [NSURLRequest requestwithurl:url];

53 Adopting the Modern WebKit API Loading a webpage NSURL *URL = [NSURL URLWithString:@" NSURLRequest *request = [NSURLRequest requestwithurl:url]; [webview loadrequest:request];

54

55

56 Adopting the Modern WebKit API Configurations Configuration WKWebView WKWebView WKWebView

57 Adopting the Modern WebKit API Configurations WKWebViewConfiguration *configuration = [[WKWebViewConfiguration alloc] init];

58 Adopting the Modern WebKit API Configurations WKWebViewConfiguration *configuration = [[WKWebViewConfiguration alloc] init]; WKWebView *webview = [[WKWebView alloc] initwithframe:myframe configuration:configuration];

59

60

61 Adding App UI

62 Adding App UI

63 WKWebView Actions

64 WKWebView Actions - goback: - goforward: - reload: - stoploading:

65 WKWebView Actions - goback: - goforward: - reload: - stoploading:

66 Adding App UI

67 WKWebView Properties

68 WKWebView Properties Name Type title NSString URL NSURL loading BOOL estimatedprogress double

69 WKWebView Properties Name Type title NSString URL NSURL loading BOOL estimatedprogress double

70 WKWebView Properties Name Type title NSString URL NSURL loading BOOL estimatedprogress double

71

72

73

74

75 Customizing Page Loading

76 Page Loading

77 Page Loading Action

78 Page Loading Action Link

79 Page Loading Action

80 Page Loading Action window.location = '

81 Page Loading Action

82 Page Loading Action -[WKWebView loadrequest:]

83 Page Loading Trigger Action Request

84 Page Loading Action Request Response

85 Page Loading Action Request Response

86 Page Loading Action Request Response

87 Page Loading Action Request Response Data

88 Page Loading Action Request Response Data

89 Page Loading Action Request Response Data

90 Page Loading Action Your App Request Response Your App Data

91 Customizing Page (nonatomic, weak) WKNavigationDelegate *navigationdelegate;

92 Customizing Page (nonatomic, weak) WKNavigationDelegate *navigationdelegate; - webview:decidepolicyfornavigationaction:decisionhandler:

93 Customizing Page (nonatomic, weak) WKNavigationDelegate *navigationdelegate; - webview:decidepolicyfornavigationaction:decisionhandler: - webview:decidepolicyfornavigationresponse:decisionhandler:

94 Customizing Page Loading WKNavigationAction

95 Customizing Page Loading WKNavigationAction Name Type navigationtype WKNavigationType sourceframe WKFrameInfo destinationframe WKFrameInfo request NSURLRequest modifierflags NSEventModifierFlags

96 Customizing Page Loading WKNavigationAction Name navigationtype Type WKNavigationType Link sourceframe WKFrameInfo destinationframe WKFrameInfo request NSURLRequest modifierflags NSEventModifierFlags -[WKWebView loadrequest:]

97 Customizing Page Loading WKNavigationAction Name Type navigationtype WKNavigationType sourceframe WKFrameInfo destinationframe WKFrameInfo request NSURLRequest modifierflags NSEventModifierFlags

98 Customizing Page Loading WKNavigationAction Name Type navigationtype WKNavigationType sourceframe WKFrameInfo Shift destinationframe WKFrameInfo request NSURLRequest modifierflags NSEventModifierFlags Option Control

99 Customizing Page Loading WKNavigationResponse

100 Customizing Page Loading WKNavigationResponse Name Type response NSURLResponse formainframe BOOL canshowmimetype BOOL

101 Customizing Page Loading WKNavigationResponse Name Type response NSURLResponse formainframe BOOL canshowmimetype BOOL

102 Customizing Page Loading Decision Handler

103 Customizing Page Loading Decision Handler You decide whether to cancel or allow

104 Customizing Page Loading Decision Handler You decide whether to cancel or allow Navigation action WKNavigationActionPolicyCancel WKNavigationActionPolicyAllow

105 Customizing Page Loading Decision Handler You decide whether to cancel or allow Navigation action WKNavigationActionPolicyCancel WKNavigationActionPolicyAllow Navigation response WKNavigationResponsePolicyCancel WKNavigationResponsePolicyAllow

106 Customizing Page Loading Decision Handler You decide whether to cancel or allow Navigation action WKNavigationActionPolicyCancel WKNavigationActionPolicyAllow Navigation response WKNavigationResponsePolicyCancel WKNavigationResponsePolicyAllow Asynchronous

107 Demo WKPedia Beth Dakin Safari and WebKit Engineer

108 Gestures Navigation Gestures

109 Gestures Navigation Gestures webview.allowsbackforwardnavigationgestures = YES;

110 Gestures Zoom Gestures

111 Gestures Zoom Gestures OS X webview.allowsmagnification = YES;

112

113

114

115

116

117

118

119

120

121

122 Customizing Webpage Content

123 Customizing Webpage Content User Scripts

124 Customizing Webpage Content User Scripts Script Messages

125 Customizing Webpage Content User Scripts Script Messages Managed by WKUserContentController

126 WKUserContentController

127 WKUserContentController Part of WKWebViewConfiguration

128 WKUserContentController Part of (nonatomic, strong) WKUserContentController *usercontentcontroller;

129 User Scripts

130 User Scripts

131 User Scripts

132 User Scripts When they run

133 User Scripts When they run Document start

134 User Scripts When they run Document start Document end

135 User Scripts When they run Document start Document end Where they run

136 User Scripts When they run Document start Document end Where they run All frames

137 User Scripts When they run Document start Document end Where they run All frames Main frame only

138 User Scripts

139 User Scripts NSString *myscriptsource World!')";

140 User Scripts NSString *myscriptsource World!')"; WKUserScript *myuserscript = [[WKUserScript alloc] initwithsource:myscriptsource injectiontime:wkuserscriptinjectiontimeatdocumentstart formainframeonly:yes];

141 User Scripts NSString *myscriptsource World!')"; WKUserScript *myuserscript = [[WKUserScript alloc] initwithsource:myscriptsource injectiontime:wkuserscriptinjectiontimeatdocumentstart formainframeonly:yes]; [usercontentcontroller adduserscript:myuserscript];

142 What Can User Scripts Do?

143 What Can User Scripts Do? Incredibly powerful

144 What Can User Scripts Do? Incredibly powerful Modify the document

145 What Can User Scripts Do? Incredibly powerful Modify the document Listen for events

146 What Can User Scripts Do? Incredibly powerful Modify the document Listen for events Load resources

147 What Can User Scripts Do? Incredibly powerful Modify the document Listen for events Load resources Communicate back to your application

148 Script Messages

149 Script Messages

150 Script Messages

151 Script Messages Sent as JSON

152 Script Messages Sent as JSON Converted to Objective-C types

153 Script Messages Registering a Script Message Handler

154 Script Messages Registering a Script Message Handler WKScriptMessageHandler protocol

155 Script Messages Registering a Script Message Handler WKScriptMessageHandler protocol - (void)usercontentcontroller:(wkusercontentcontroller *)usercontentcontroller didreceivescriptmessage:(wkscriptmessage *)message;

156 Script Messages Registering a Script Message Handler WKScriptMessageHandler protocol - (void)usercontentcontroller:(wkusercontentcontroller *)usercontentcontroller didreceivescriptmessage:(wkscriptmessage *)message; [usercontentcontroller addscriptmessagehandler:handler name:@"myname"];

157 Script Messages Posting messages

158 Script Messages Posting messages window.webkit.messagehandlers.<name>.postmessage();

159 Script Messages Posting messages window.webkit.messagehandlers.<name>.postmessage(); function postmymessage() { var message = { 'message' : 'Hello, World!', 'numbers' : [ 1, 2, 3 ] }; window.webkit.messagehandlers.myname.postmessage(message); }

160 Script Messages Receiving messages

161 Script Messages Receiving messages - (void)usercontentcontroller:(wkusercontentcontroller *)usercontentcontroller didreceivescriptmessage:(wkscriptmessage *)message { NSLog(@"Message: %@", message.body); }

162 Script Messages WKScriptMessage Name Type body id webview WKWebView name NSString

163 Script Messages

164 Script Messages The webpage can call postmessage

165 Script Messages The webpage can call postmessage Great for allowing webpages to interact with your app

166 Script Messages The webpage can call postmessage Great for allowing webpages to interact with your app Handle invalid messages

167 Demo WKPedia for ipad Beth Dakin Safari and WebKit Engineer

168 The Modern WebKit API

169 The Modern WebKit API

170 The Modern WebKit API WKWebView Web Content Process WebKit

171 The Modern WebKit API

172 The Modern WebKit API

173 The Modern WebKit API

174

175 WKScriptMessageHandler WKWebView WKNavigationDelegate WKBackForwardListItem WKFrameInfo WKUserContentController WKBackForwardList WKNavigation WKScriptMessage WKPreferences WKNavigationType WKUIDelegate WKUserScript WKProcessPool WKNavigationAction WKNavigationResponse WKWebViewConfiguration WKWindowFeatures

176 Next Steps

177 Next Steps Adopt the modern WebKit API

178 Next Steps Adopt the modern WebKit API Give us feedback

179 More Information Evangelism Safari Dev Center WebKit Open Source Project Apple Developer Forums

180 Related Sessions Your App, Your Website, and Safari Nob Hill Tuesday 4:30PM Web Inspector and Modern JavaScript Russian Hill Thursday 10:15AM Sharing Code Between ios and OS X Presidio Friday 9:00AM

181 Labs Safari and WebKit Lab Media Lab B Tuesday 4:30PM Safari and WebKit Lab Media Lab B Wednesday 4:30PM Safari and WebKit Lab Media Lab B Thursday 2:00PM

182

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

ITP 342 Mobile App Dev. Web View

ITP 342 Mobile App Dev. Web View ITP 342 Mobile App Dev Web View Web View 2 WebKit The WebKit provides a set of core classes to display web content in windows, and by default, implements features such as following links clicked by the

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

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

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

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

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

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

Discovering WKWebView

Discovering WKWebView Discovering WKWebView Designed to replace UIWebView on ios and WebView on macos. Both ios and macos have the same API Harder to use than UIWebView Multi-process Architecture Multi-process Architecture

More information

Extending Your Apps with SiriKit

Extending 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 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

Mastering Xcode for iphone OS Development Part 2. Marc Verstaen Sr. Manager, iphone Tools

Mastering Xcode for iphone OS Development Part 2. Marc Verstaen Sr. Manager, iphone Tools Mastering Xcode for iphone OS Development Part 2 Marc Verstaen Sr. Manager, iphone Tools 2 Tale of Two Sessions Part 1: Orientation: Tour of complete development cycle Part 2: Mastery: Details of several

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

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

What s New in Core Location Core OS What s New in Core Location Session 706 Stephen Rhee Engineering Manager 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

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

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

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

What's New in Foundation Networking

What's New in Foundation Networking Core OS #WWDC14 What's New in Foundation Networking Session 707 Steve Algernon Senior Wrangler 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

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

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

Content Protection for HTTP Live Streaming

Content Protection for HTTP Live Streaming Media #WWDC15 Content Protection for HTTP Live Streaming Session 502 Roger Pantos HTTP Live Streaming Engineer 2015 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

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

JavaScript for Automation

JavaScript for Automation Services #WWDC14 JavaScript for Automation Session 306 Sal Soghoian Product Manger Automation Technologies 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted without written

More information

Creating Content with iad JS

Creating Content with iad JS Creating Content with iad JS Part 2 The iad JS Framework Antoine Quint iad JS Software Engineer ios Apps and Frameworks 2 Agenda Motivations and Features of iad JS Core JavaScript Enhancements Working

More 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

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

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

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

Improving the Accessibility and Usability of Complex Web Applications

Improving the Accessibility and Usability of Complex Web Applications Media #WWDC14 Improving the Accessibility and Usability of Complex Web Applications Session 516 Jesse Bunch Productivity Engineering 2014 Apple Inc. All rights reserved. Redistribution or public display

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

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

Sam Weinig Safari and WebKit Engineer. Chris Marrin Safari and WebKit Engineer

Sam Weinig Safari and WebKit Engineer. Chris Marrin Safari and WebKit Engineer Sam Weinig Safari and WebKit Engineer Chris Marrin Safari and WebKit Engineer 2 3 4 5 Simple presentation of complex data 6 Graphs can be interactive California County: San Francisco Population: 845,559

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

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

Localizing with Xcode 6

Localizing with Xcode 6 Tools #WWDC14 Localizing with Xcode 6 Best practices and new workflows Session 412 Zoltan Foley-Fisher Xcode Software Engineer! Chris Hanson Xcode Software Engineer 2014 Apple Inc. All rights reserved.

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

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

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

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

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

Using HTML5 Offline Storage. Brady Eidson Safari and WebKit Engineer

Using HTML5 Offline Storage. Brady Eidson Safari and WebKit Engineer Using HTML5 Offline Storage Brady Eidson Safari and WebKit Engineer 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 So what can I do without the cloud? 22 What You ll Learn Make apps accessible offline

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

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

Mastering Xcode for iphone OS Development Part 1. Todd Fernandez Sr. Manager, IDEs

Mastering Xcode for iphone OS Development Part 1. Todd Fernandez Sr. Manager, IDEs Mastering Xcode for iphone OS Development Part 1 Todd Fernandez Sr. Manager, IDEs 2 3 Customer Reviews Write a Review Current Version (1) All Versions (24) Gorgeous and Addictive Report a Concern by Play

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

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

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

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

Profiling in Depth. Do you know where your code is? Session 412. Kris Markel Performance Tools Engineer Chad Woolf Performance Tools Engineer

Profiling in Depth. Do you know where your code is? Session 412. Kris Markel Performance Tools Engineer Chad Woolf Performance Tools Engineer Developer Tools #WWDC15 Profiling in Depth Do you know where your code is? Session 412 Kris Markel Performance Tools Engineer Chad Woolf Performance Tools Engineer 2015 Apple Inc. All rights reserved.

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

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

Your Apps and Evolving Network Security Standards

Your Apps and Evolving Network Security Standards Session System Frameworks #WWDC17 Your Apps and Evolving Network Security Standards 701 Bailey Basile, Secure Transports Engineer Chris Wood, Secure Transports Engineer 2017 Apple Inc. All rights reserved.

More information

WebGL. Creating Interactive Content with WebGL. Media #WWDC14. Session 509 Dean Jackson and Brady Eidson WebKit Engineers

WebGL. Creating Interactive Content with WebGL. Media #WWDC14. Session 509 Dean Jackson and Brady Eidson WebKit Engineers Media #WWDC14 WebGL Creating Interactive Content with WebGL Session 509 Dean Jackson and Brady Eidson WebKit Engineers 2014 Apple Inc. All rights reserved. Redistribution or public display not permitted

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

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

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

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

Introducing CloudKit. A how-to guide for icloud for your Apps. Frameworks #WWDC14. Session 208 Olivier Bonnet CloudKit Client Software

Introducing CloudKit. A how-to guide for icloud for your Apps. Frameworks #WWDC14. Session 208 Olivier Bonnet CloudKit Client Software Frameworks #WWDC14 Introducing CloudKit A how-to guide for icloud for your Apps Session 208 Olivier Bonnet CloudKit Client Software 2014 Apple Inc. All rights reserved. Redistribution or public display

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

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

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

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

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

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

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

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

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

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

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

Advanced Memory Analysis with Instruments. Daniel Delwood Performance Tools Engineer

Advanced Memory Analysis with Instruments. Daniel Delwood Performance Tools Engineer Advanced Memory Analysis with Instruments Daniel Delwood Performance Tools Engineer 2 Memory Analysis What s the issue? Memory is critical to performance Limited resource Especially on iphone OS 3 4 Memory

More information

Address Book for iphone

Address Book for iphone Address Book for iphone The people s framework Alexandre Aybes iphone Software Engineer 2 3 Address Book for iphone The people s framework Alexandre Aybes iphone Software Engineer 4 What We Will Cover

More information

What s New in Foundation for Swift Session 207

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

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

DRS Access for Mobile Devices Final Report

DRS Access for Mobile Devices Final Report DRS Access for Mobile Devices Final Report Chip Goines, Office for Information Systems John Overholt, Houghton Library November 15, 2011 Project summary: The goal of this project was twofold: first, to

More information

Introducing the Contacts Framework

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

Page 1 of 20 webforms Browser Configuration Guide

Page 1 of 20 webforms Browser Configuration Guide Page 1 of 20 webforms Browser Configuration Guide Version 9.0 Overview This document will help Trade Partners set their web Browser Configuration for use with webforms. It is recommended you do this before

More information

View Controller Lifecycle

View Controller Lifecycle View Controller Lifecycle View Controllers have a Lifecycle A sequence of messages is sent to them as they progress through it Why does this matter? You very commonly override these methods to do certain

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

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

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

Developing Applications for ios

Developing Applications for ios Developing Applications for ios Lecture 7: View Controller Lifecycle and UIKit Radu Ionescu raducu.ionescu@gmail.com Faculty of Mathematics and Computer Science University of Bucharest Content View Controller

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

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

Apple Watch Design Tips and Tricks

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

We need a browser that just works with modern web sites and services. I m worried about Internet security threats and the risk to my business

We need a browser that just works with modern web sites and services. I m worried about Internet security threats and the risk to my business WHAT WE HEARD FROM YOU We need a browser that just works with modern web sites and services I m worried about Internet security threats and the risk to my business My employees need to be productive when

More information

ArcGIS Enterprise Security: Advanced. Gregory Ponto & Jeff Smith

ArcGIS Enterprise Security: Advanced. Gregory Ponto & Jeff Smith Enterprise Security: Advanced Gregory Ponto & Jeff Smith Agenda Focus: Security best practices for Enterprise Server Portal for 10.5.x Features Strongly Recommend: Knowledge of Server and Portal for Security

More information

HKUST. CSIT 6910A Report. iband - Musical Instrument App on Mobile Devices. Student: QIAN Li. Supervisor: Prof. David Rossiter

HKUST. CSIT 6910A Report. iband - Musical Instrument App on Mobile Devices. Student: QIAN Li. Supervisor: Prof. David Rossiter HKUST CSIT 6910A Report Student: Supervisor: Prof. David Rossiter Table of Contents I. Introduction 1 1.1 Overview 1 1.2 Objective 1 II. Preparation 2 2.1 ios SDK & Xcode IDE 2 2.2 Wireless LAN Network

More information

Validating HTTP Live Streams

Validating HTTP Live Streams Media #WWDC16 Validating HTTP Live Streams Session 510 Eryk Vershen Media Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple.

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

Networking with NSURLSession

Networking with NSURLSession System Frameworks #WWDC15 Networking with NSURLSession Session 711 Luke Case Software Engineer Andreas Garkuscha Software Engineer Dan Vinegrad Software Engineer 2015 Apple Inc. All rights reserved. Redistribution

More information

Using Advanced Interface Objects and Views

Using Advanced Interface Objects and Views HOUR 9 Using Advanced Interface Objects and Views What You ll Learn This Hour:. How to use segmented controls (a.k.a. button bars). Ways of inputting Boolean values via switches. How to include web content

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