What s New in Testing

Size: px
Start display at page:

Download "What s New in Testing"

Transcription

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

2 Code coverage Test selection and ordering Parallel testing

3 Code coverage Test selection and ordering Parallel testing

4 Code Coverage 9.3

5 Code Coverage 9.3 Xcode 9.3

6 Code Coverage 9.3 Xcode 9.3 Performance and accuracy

7 Code Coverage 9.3 Xcode 9.3 Performance and accuracy Target selection

8 Code Coverage 9.3 Xcode 9.3 Performance and accuracy Target selection xccov

9 Code Coverage 9.3 Xcode 9.3 Performance and accuracy Target selection xccov Source editor

10 Performance and Accuracy

11 Time to Load In seconds Xcode 9.3 Xcode

12 Time to Load In seconds Xcode 9.3 Xcode

13 Time to Load In seconds Xcode 9.3 Xcode

14 Time to Load In seconds Xcode 9.3 Xcode

15 Time to Load In seconds Xcode Xcode

16 File Size In MB Xcode 9.3 Xcode

17 File Size In MB Xcode 9.3 Xcode

18 File Size In MB Xcode 9.3 Xcode

19 File Size In MB Xcode Xcode

20 Xcode 9 C++ header 9.0

21 Xcode 9.3 C++ header 9.3

22 Target Selection

23 Target Selection Code Coverage Enabled for all targets Enabled for selected targets Disabled

24 Does time in window need to match top bar?

25

26

27 xccov

28 xccov Command line tool Output formats Human-readable Machine-parseable (JSON) View coverage data

29 Coverage Data

30 Coverage Data xccovreport Coverage report Line coverage percentages

31 Coverage Data xccovreport xccovarchive Coverage report Coverage archive Line coverage percentages Raw execution counts

32 Coverage Data

33 Coverage Data Derived data

34 Coverage Data Derived data Result bundle xcodebuild -resultbundlepath

35 xcrun xccov view HelloWorld.xccovreport Name Coverage HelloWorld.app 57.89% (11/19) /tmp/helloworld/helloworld/appdelegate.m 50.00% (3/6) -[AppDelegate applicationwillterminate:] 0.00% (0/3) -[AppDelegate applicationdidfinishlaunching:] % (3/3) /tmp/helloworld/helloworld/viewcontroller.m 50.00% (5/10) -[ViewController setrepresentedobject:] 0.00% (0/5) -[ViewController viewdidload] % (5/5) /tmp/helloworld/helloworld/main.m % (3/3) main % (3/3) HelloWorldTests.xctest % (21/21) /tmp/helloworld/helloworldtests/helloworldtests.m % (21/21) -[HelloWorldTests testexample] % (4/4)

36 xcrun xccov view HelloWorld.xccovreport Name Coverage HelloWorld.app 57.89% (11/19) /tmp/helloworld/helloworld/appdelegate.m 50.00% (3/6) -[AppDelegate applicationwillterminate:] 0.00% (0/3) -[AppDelegate applicationdidfinishlaunching:] % (3/3) /tmp/helloworld/helloworld/viewcontroller.m 50.00% (5/10) -[ViewController setrepresentedobject:] 0.00% (0/5) -[ViewController viewdidload] % (5/5) /tmp/helloworld/helloworld/main.m % (3/3) main % (3/3) HelloWorldTests.xctest % (21/21) /tmp/helloworld/helloworldtests/helloworldtests.m % (21/21) -[HelloWorldTests testexample] % (4/4)

37 xcrun xccov view HelloWorld.xccovreport Name Coverage HelloWorld.app 57.89% (11/19) /tmp/helloworld/helloworld/appdelegate.m 50.00% (3/6) -[AppDelegate applicationwillterminate:] 0.00% (0/3) -[AppDelegate applicationdidfinishlaunching:] % (3/3) /tmp/helloworld/helloworld/viewcontroller.m 50.00% (5/10) -[ViewController setrepresentedobject:] 0.00% (0/5) -[ViewController viewdidload] % (5/5) /tmp/helloworld/helloworld/main.m % (3/3) main % (3/3) HelloWorldTests.xctest % (21/21) /tmp/helloworld/helloworldtests/helloworldtests.m % (21/21) -[HelloWorldTests testexample] % (4/4)

38 xcrun xccov view HelloWorld.xccovreport Name Coverage HelloWorld.app 57.89% (11/19) /tmp/helloworld/helloworld/appdelegate.m 50.00% (3/6) -[AppDelegate applicationwillterminate:] 0.00% (0/3) -[AppDelegate applicationdidfinishlaunching:] % (3/3) /tmp/helloworld/helloworld/viewcontroller.m 50.00% (5/10) -[ViewController setrepresentedobject:] 0.00% (0/5) -[ViewController viewdidload] % (5/5) /tmp/helloworld/helloworld/main.m % (3/3) main % (3/3) HelloWorldTests.xctest % (21/21) /tmp/helloworld/helloworldtests/helloworldtests.m % (21/21) -[HelloWorldTests testexample] % (4/4)

39 xcrun xccov view --json HelloWorld.xccovreport { "coveredlines": 32, "linecoverage": 0.8, "targets": [ { "coveredlines": 11, "linecoverage": , "files": [ { "coveredlines": 3, "linecoverage": 0.5, "path": "tmphelloworldhelloworldappdelegate.m", "functions": [ { "coveredlines": 0,

40 xcrun xccov view --json HelloWorld.xccovreport { "coveredlines": 32, "linecoverage": 0.8, "targets": [ { "coveredlines": 11, "linecoverage": , "files": [ { "coveredlines": 3, "linecoverage": 0.5, "path": "tmphelloworldhelloworldappdelegate.m", "functions": [ { "coveredlines": 0,

41 xcrun xccov view --json HelloWorld.xccovreport { "coveredlines": 32, "linecoverage": 0.8, "targets": [ { "coveredlines": 11, "linecoverage": , "files": [ { "coveredlines": 3, "linecoverage": 0.5, "path": "tmphelloworldhelloworldappdelegate.m", "functions": [ { "coveredlines": 0,

42 man xccov NAME xccov - view Xcode coverage data in human-readable or machine-parseable format. SYNOPSIS xccov view [--only-targets --files-for-target target_name --functions-for-file name_or_path] [--json] report.xccovreport xccov view [--file-list --file path] archive.xccovarchive DESCRIPTION When tests are run with code coverage enabled, Xcode generates two files that contain its representation of coverage data. These are the coverage report, with extension xccovreport, and the coverage archive, with extension xccovarchive. The coverage report contains line coverage percentages for each target, source file, and function/method that has coverage information. The coverage archive contains the raw

43 Source Editor

44

45

46

47

48 Demo

49 Code coverage Test selection and ordering Parallel testing

50 Code coverage Test selection and ordering Parallel testing

51 Test Selection Not all tests are equal 1,000 unit tests 10 UI tests Different tests in different situations Pre-commit Nightly

52 Test Selection with Schemes

53 Test Selection with Schemes Tests to skip Automatically includes new tests

54 Test Selection with Schemes NEW Tests to skip Automatically includes new tests Tests to run Explicit opt-in for tests

55 Does time in window need to match top bar?

56

57

58 Test Ordering

59 Test Ordering Alphabetical Default Deterministic Can hide implicit dependencies

60 Implicit Dependencies Between Tests

61 Implicit Dependencies Between Tests test A test B test C

62 Implicit Dependencies Between Tests test A test B test C

63 Implicit Dependencies Between Tests test A test B test C

64 Implicit Dependencies Between Tests test A test B test C

65 Implicit Dependencies Between Tests test A test B test C

66 Implicit Dependencies Between Tests test B test A test C

67 Implicit Dependencies Between Tests test B test A test C

68 Test Ordering Alphabetical Default Deterministic Can hide implicit dependencies

69 Test Ordering NEW Alphabetical Default Deterministic Can hide implicit dependencies Randomized Nondeterministic Can uncover implicit dependencies

70

71

72

73 Code coverage Test selection and ordering Parallel testing

74 Code coverage Test selection and ordering Parallel testing

75 Parallel Testing Ethan Vaughan, Xcode Engineer

76 Development Cycle Write Debug Test Push

77 Waiting for Tests to Finish =

78 Waiting for Tests to Finish =

79 Parallel Destination Testing 9.0 Ability to run all of your tests on multiple destinations simultaneously xcodebuild test -destination platform=ios,name=iphone X -destination platform=ios,name=ipad

80 Parallel Destination Testing 8.0 iphone X ipad Time

81 Parallel Destination Testing 9.0 iphone X ipad Time

82 Parallel Destination Testing Limitations

83 Parallel Destination Testing Limitations Only beneficial if testing on multiple destinations

84 Parallel Destination Testing Limitations Only beneficial if testing on multiple destinations Only available from xcodebuild

85 Parallel Distributed Testing NEW

86 Parallel Distributed Testing NEW Execute tests in parallel on a single destination Time

87 Parallel Distributed Testing NEW Execute tests in parallel on a single destination Time

88 Testing Architecture

89 Testing Architecture Unit tests func testfoo() {... }

90 Testing Architecture Unit tests func testfoo() {... }

91 Testing Architecture Unit tests func testfoo() {... } Test Bundle

92 Testing Architecture Unit tests func testfoo() {... } Test Bundle

93 Testing Architecture Unit tests Your App Test Bundle

94 Testing Architecture Unit tests

95 Testing Architecture UI tests UI Test Runner

96 Testing Architecture UI tests UI Test Runner

97 Testing Architecture UI tests UI Test Runner Your App

98 Testing Architecture UI tests UI Test Runner Your App

99 Testing Architecture UI tests Click UI Test Runner Your App

100 Testing Architecture UI tests Click UI Test Runner Your App Advanced Testing and Continuous Integration WWDC 2016

101 Overview Parallel Distributed Testing Xcode

102 Overview Parallel Distributed Testing Xcode

103 Overview Parallel Distributed Testing Xcode Runner

104 Overview Parallel Distributed Testing Xcode

105 Overview Parallel Distributed Testing Xcode

106 Overview Parallel Distributed Testing t3 t2 t1 Xcode

107 Overview Parallel Distributed Testing t1 t2 Xcode t3

108 Classes Execute in Parallel R1 R2 R3 Time

109 Classes Execute in Parallel R1 C C C R2 C C C R3 C C C Time

110 Classes Execute in Parallel Motivation

111 Classes Execute in Parallel Motivation Hidden dependencies between tests in a class

112 Classes Execute in Parallel Motivation Hidden dependencies between tests in a class Avoid unnecessary +setup and +teardown computation

113 Parallel Testing on Simulator Original Simulator

114 Parallel Testing on Simulator Original Simulator

115 Parallel Testing on Simulator Original Simulator Clone 1 Clone 2 Clone 3

116 Parallel Testing on Simulator Original Simulator Clone 1 Clone 2 Clone 3

117 Parallel Testing on Simulator Original Simulator C C C

118 Parallel Testing on Simulator Implications

119 Parallel Testing on Simulator Implications Original simulator is not used during testing

120 Parallel Testing on Simulator Implications Original simulator is not used during testing Separate data containers

121 Supported Configurations Unit Tests UI Tests macos Simulator (ios and tvos)

122 Demo

123 Demo Recap

124 Demo Recap Enabling parallelization

125 Demo Recap Enabling parallelization Viewing results in the test log and test report

126 Demo Recap Enabling parallelization Viewing results in the test log and test report Multiple instances of a Mac app running unit tests

127 Demo Recap Enabling parallelization Viewing results in the test log and test report Multiple instances of a Mac app running unit tests Multiple simulator clones running UI tests

128 xcodebuild

129 xcodebuild Override the number of workers -parallel-testing-worker-count n

130 xcodebuild Override the number of workers -parallel-testing-worker-count n Force parallel testing on or off -parallel-testing-enabled YES NO

131 Tips and Tricks

132 Tips and Tricks Consider splitting a long running class into two classes

133 Classes Execute in Parallel R1 C C R2 C C R3 C C Time

134 Classes Execute in Parallel R1 C R2 C C C R3 C C Time

135 Tips and Tricks Consider splitting a long running class into two classes

136 Tips and Tricks Consider splitting a long running class into two classes Put performance tests into their own bundle, with parallelization disabled

137 Tips and Tricks Consider splitting a long running class into two classes Put performance tests into their own bundle, with parallelization disabled Understand which tests are not safe for parallelization

138 Tips and Tricks Consider splitting a long running class into two classes Put performance tests into their own bundle, with parallelization disabled Understand which tests are not safe for parallelization Testing Tips & Tricks Hall 2 Friday 3:20PM

139 Summary

140 Summary Code coverage

141 Summary Code coverage Test selection and ordering

142 Summary Code coverage Test selection and ordering Parallel testing

143 More Information Simulator, Testing, and Continuous Integration Lab Technology Lab 8 Wednesday 12:00PM Simulator, Testing, and Continuous Integration Lab Technology Lab 8 Friday 9:00AM

144

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

SceneKit: What s New Session 604

SceneKit: What s New Session 604 Graphics and Games #WWDC17 SceneKit: What s New Session 604 Thomas Goossens, SceneKit engineer Amaury Balliet, SceneKit engineer Anatole Duprat, SceneKit engineer Sébastien Métrot, SceneKit engineer 2017

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

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

What s New in Device Configuration, Deployment, and Management

What s New in Device Configuration, Deployment, and Management Session Distribution #WWDC17 What s New in Device Configuration, Deployment, and Management 304 Todd Fernandez, Senior Manager, Device Management and Server 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

Xcode Release Notes. Apple offers a number of resources where you can get Xcode development support:

Xcode Release Notes. Apple offers a number of resources where you can get Xcode development support: Xcode Release Notes This document contains release notes for Xcode 5 developer preview 4. It discusses new features and issues present in Xcode 5 developer preview 4 and issues resolved from earlier Xcode

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

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

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

Xcode Release Notes. Apple offers a number of resources where you can get Xcode development support:

Xcode Release Notes. Apple offers a number of resources where you can get Xcode development support: Xcode Release Notes This document contains release notes for Xcode 5 developer preview 5. It discusses new features and issues present in Xcode 5 developer preview 5 and issues resolved from earlier Xcode

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

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

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

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

CSC 581: Mobile App Development Spring 2019

CSC 581: Mobile App Development Spring 2019 CSC 581: Mobile App Development Spring 2019 Unit 1: Getting Started with App Development Xcode installing XCode, creating a project, MVC pattern interface builder, storyboards, object library outlets vs.

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

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

Stanford CS193p. Developing Applications for ios. Fall CS193p. Fall

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

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

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

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

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

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

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

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

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

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

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

Stream iphone Sensor Data to Adafruit IO

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

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 Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops

What s New in Audio. Media #WWDC17. Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops Session Media #WWDC17 What s New in Audio 501 Akshatha Nagesh, AudioEngine-eer Béla Balázs, Audio Artisan Torrey Holbrook Walker, Audio/MIDI Black Ops 2017 Apple Inc. All rights reserved. Redistribution

More 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

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

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

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

Building Visually Rich User Experiences

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

Deploying AirPrint in Enterprise

Deploying AirPrint in Enterprise System Frameworks #WWDC16 Deploying AirPrint in Enterprise Session 725 Todd Ritland AirPrint Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written

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

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

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

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

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

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

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

Writing Great Alerts. Design #WWDC17. Natalie Calvert, Designer

Writing Great Alerts. Design #WWDC17. Natalie Calvert, Designer Session Design #WWDC17 Writing Great Alerts 813 Natalie Calvert, Designer 2017 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission from Apple. When

More information

Building Mapping Apps for ios With Swift

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

Getting Started with CareKit

Getting Started with CareKit App Frameworks #WWDC16 Getting Started with CareKit Session 237 Umer Khan Software Engineer 2016 Apple Inc. All rights reserved. Redistribution or public display not permitted without written permission

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

What s New in Core Bluetooth

What s New in Core Bluetooth Session System Frameworks #WWDC17 What s New in Core Bluetooth 712 Craig Dooley, Bluetooth Engineer Duy Phan, Bluetooth Engineer 2017 Apple Inc. All rights reserved. Redistribution or public display not

More 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

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

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

itunes Connect Development to distribution #WWDC15 Distribution Session 304

itunes Connect Development to distribution #WWDC15 Distribution Session 304 Distribution #WWDC15 itunes Connect Development to distribution Session 304 Paul Turner Senior Engineering Operations Manager, itunes Digital Supply Chain 2015 Apple Inc. All rights reserved. Redistribution

More information