Slide 1

Slide 1 text

WWDC SPEEDRUN APPDEVCON | AMSTERDAM | JUNE 2022 ELLEN SHAPIRO | DESIGNATEDNERD.COM | @DESIGNATEDNERD

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

MACOS

Slide 12

Slide 12 text

!

Slide 13

Slide 13 text

! ⛰

Slide 14

Slide 14 text

VENTURA

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

BRIEF META DIVERSION

Slide 22

Slide 22 text

PLAN A: WATCH AS MANY WWDC VIDEOS AS I COULD

Slide 23

Slide 23 text

PLAN A: WATCH AS MANY WWDC VIDEOS AS I COULD *- In three weeks without giving up my life

Slide 24

Slide 24 text

I WAS FUNEMPLOYED

Slide 25

Slide 25 text

I WAS FUNEMPLOYED I HAD PLENTY OF TIME

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

! DO NOT TRY THIS AT HOME

Slide 28

Slide 28 text

35

Slide 29

Slide 29 text

35 / 120

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

PLAN B: WATCH THE SESSIONS I WOULD NORMALLY WATCH WAY LATER

Slide 32

Slide 32 text

FIND SOME ! HIDDEN GEMS

Slide 33

Slide 33 text

!

Slide 34

Slide 34 text

OPINONS ARE MINE

Slide 35

Slide 35 text

OPINONS ARE MINE (TAKE THEM WITH A BIG GRAIN OF SALT)

Slide 36

Slide 36 text

! WEATHERKIT

Slide 37

Slide 37 text

MEET WEATHERKIT https://developer.apple.com/wwdc22/10003

Slide 38

Slide 38 text

HISTORICAL WEATHER https://developer.apple.com/wwdc22/10003

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

SWIFT

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

MEET DISTRIBUTED ACTORS IN SWIFT https://developer.apple.com/wwdc22/110356

Slide 46

Slide 46 text

https://developer.apple.com/wwdc22/110356

Slide 47

Slide 47 text

START WITH LOCAL DISTRIBUTED ACTORS https://developer.apple.com/wwdc22/110356

Slide 48

Slide 48 text

ACTOR SYSTEM https://developer.apple.com/wwdc22/110356

Slide 49

Slide 49 text

ACTOR SYSTEM? https://developer.apple.com/wwdc22/110356

Slide 50

Slide 50 text

https://developer.apple.com/wwdc22/110356

Slide 51

Slide 51 text

Holy shit, this seems complicated and full of giant holes where stuff can fail or block if you're not careful https://developer.apple.com/wwdc22/110356

Slide 52

Slide 52 text

WHAT'S NEW IN SWIFT-DOCC https://developer.apple.com/wwdc22/110368

Slide 53

Slide 53 text

STATIC PUBLISHING https://developer.apple.com/wwdc22/110368

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

!

Slide 56

Slide 56 text

https://developer.apple.com/wwdc22/110368

Slide 57

Slide 57 text

https://developer.apple.com/wwdc22/110368

Slide 58

Slide 58 text

https://developer.apple.com/wwdc22/110368

Slide 59

Slide 59 text

https://developer.apple.com/wwdc22/110368

Slide 60

Slide 60 text

! SPM PLUGINS

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

MEET SWIFT PACKAGE PLUGINS + CREATE SWIFT PACKAGE PLUGINS https://developer.apple.com/wwdc22/110359 || https://developer.apple.com/wwdc22/110401

Slide 64

Slide 64 text

CUSTOM COMMAND PLUGINS https://developer.apple.com/wwdc22/110359 || https://developer.apple.com/wwdc22/110401

Slide 65

Slide 65 text

func performCommand(context: PluginContext, arguments: [String]) async throws https://developer.apple.com/wwdc22/110359 || https://developer.apple.com/wwdc22/110401

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

BUILD TOOL PLUGINS

Slide 68

Slide 68 text

LIMITATIONS

Slide 69

Slide 69 text

LIMITATIONS ▸ No network access

Slide 70

Slide 70 text

LIMITATIONS ▸ No network access ▸ Cannot write outside the plugin's work directory by default

Slide 71

Slide 71 text

LIMITATIONS ▸ No network access ▸ Cannot write outside the plugin's work directory by default ▸ Can ask permission to write within package's root directory

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

LIMITATIONS ▸ No network access ▸ Cannot write outside the plugin's work directory by default ▸ Can ask permission to write within package's root directory

Slide 75

Slide 75 text

LIMITATIONS ▸ No network access ▸ Cannot write outside the plugin's work directory by default ▸ Can ask permission to write within package's root directory ▸ Cannot show UI

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

TESTING

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

AUTHOR FAST AND RELIABLE TESTS FOR XCODE CLOUD https://developer.apple.com/wwdc22/110361

Slide 81

Slide 81 text

XCODE CLOUD-SPECIFIC TIPS https://developer.apple.com/wwdc22/110361

Slide 82

Slide 82 text

XCODE CLOUD-SPECIFIC TIPS ▸ Variables set in Xcode Cloud take precedence https://developer.apple.com/wwdc22/110361

Slide 83

Slide 83 text

https://developer.apple.com/wwdc22/110361

Slide 84

Slide 84 text

XCODE CLOUD-SPECIFIC TIPS ▸ Variables set in Xcode Cloud take precedence ▸ Tests are run on a fresh simulator every time https://developer.apple.com/wwdc22/110361

Slide 85

Slide 85 text

XCODE CLOUD-SPECIFIC TIPS ▸ Variables set in Xcode Cloud take precedence ▸ Tests are run on a fresh simulator every time ▸ Xcode itself is tested on Xcode Cloud https://developer.apple.com/wwdc22/110361

Slide 86

Slide 86 text

AUTHOR FAST AND RELIABLE TESTS FOR XCODE CLOUD ANY CI https://developer.apple.com/wwdc22/110361

Slide 87

Slide 87 text

https://developer.apple.com/wwdc22/110361

Slide 88

Slide 88 text

TESTING PROTIPS https://developer.apple.com/wwdc22/110361

Slide 89

Slide 89 text

TESTING PROTIPS ▸ Do all configuration in setUp, don't rely on tearDown https://developer.apple.com/wwdc22/110361

Slide 90

Slide 90 text

TESTING PROTIPS ▸ Do all configuration in setUp, don't rely on tearDown ▸ Prefer mocking tests of external services to retry on failure https://developer.apple.com/wwdc22/110361

Slide 91

Slide 91 text

TESTING PROTIPS ▸ Do all configuration in setUp, don't rely on tearDown ▸ Prefer mocking tests of external services to retry on failure ▸ Create separate test plans for PRs vs full test suite https://developer.apple.com/wwdc22/110361

Slide 92

Slide 92 text

TESTING PROTIPS ▸ Do all configuration in setUp, don't rely on tearDown ▸ Prefer mocking tests of external services to retry on failure ▸ Create separate test plans for PRs vs full test suite ▸ Prefer async/await to waitForExpectations https://developer.apple.com/wwdc22/110361

Slide 93

Slide 93 text

TESTING PROTIPS ▸ Do all configuration in setUp, don't rely on tearDown ▸ Prefer mocking tests of external services to retry on failure ▸ Create separate test plans for PRs vs full test suite ▸ Prefer async/await to waitForExpectations ▸ Add execution time allowances to kill infinite loops https://developer.apple.com/wwdc22/110361

Slide 94

Slide 94 text

No content

Slide 95

Slide 95 text

WHAT'S NEW IN THE PHOTOS PICKER https://developer.apple.com/wwdc22/10023

Slide 96

Slide 96 text

https://developer.apple.com/wwdc22/10023

Slide 97

Slide 97 text

https://developer.apple.com/wwdc22/10023

Slide 98

Slide 98 text

No content

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

No content

Slide 101

Slide 101 text

DESIGN

Slide 102

Slide 102 text

No content

Slide 103

Slide 103 text

ADOPT VARIABLE COLOR IN SF SYMBOLS https://developer.apple.com/wwdc22/10158

Slide 104

Slide 104 text

https://developer.apple.com/wwdc22/10158

Slide 105

Slide 105 text

No content

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

WRITING FOR INTERFACES https://developer.apple.com/wwdc22/10037

Slide 108

Slide 108 text

WRITING FOR INTERFACES HOW TO MAKE YOUR APP'S LANGUAGE LESS MADDENINGLY VERBOSE https://developer.apple.com/wwdc22/10037

Slide 109

Slide 109 text

WRITING FOR INTERFACES HOW TO MAKE YOUR APP'S TEXT EASIER TO READ https://developer.apple.com/wwdc22/10037

Slide 110

Slide 110 text

WRITING FOR INTERFACES HOW TO WRITE SIMPLE, CLEAR COPY https://developer.apple.com/wwdc22/10037

Slide 111

Slide 111 text

QUICK HITS

Slide 112

Slide 112 text

WHAT'S NEW IN WKWEBVIEW https://developer.apple.com/wwdc22/10049

Slide 113

Slide 113 text

WHAT'S NEW IN WKWEBVIEW ▸ Remote debugger now works with all browser types https://developer.apple.com/wwdc22/10049

Slide 114

Slide 114 text

WHAT'S NEW IN APP STORE CONNECT https://developer.apple.com/wwdc22/10043

Slide 115

Slide 115 text

WHAT'S NEW IN APP STORE CONNECT ▸ Version 2.0 of the App Store Connect API https://developer.apple.com/wwdc22/10043

Slide 116

Slide 116 text

No content

Slide 117

Slide 117 text

DISCOVER BENCHMARKS IN APP ANALYTICS https://developer.apple.com/wwdc22/10044

Slide 118

Slide 118 text

DISCOVER BENCHMARKS IN APP ANALYTICS ▸ Compare your app's performance to other ones in your category. https://developer.apple.com/wwdc22/10044

Slide 119

Slide 119 text

WHAT'S NEW IN APP CLIPS https://developer.apple.com/wwdc22/10097

Slide 120

Slide 120 text

https://developer.apple.com/wwdc22/10097

Slide 121

Slide 121 text

MEET TRANSFERABLE https://developer.apple.com/wwdc22/10062

Slide 122

Slide 122 text

MEET TRANSFERABLE ▸ Specify how data is passed between apps https://developer.apple.com/wwdc22/10062

Slide 123

Slide 123 text

! APPLE KREMLINOLOGY

Slide 124

Slide 124 text

https://developer.apple.com/wwdc22/10049

Slide 125

Slide 125 text

AUGMENTED REALITY

Slide 126

Slide 126 text

No content

Slide 127

Slide 127 text

No content

Slide 128

Slide 128 text

No content

Slide 129

Slide 129 text

CREATE PARAMETRIC 3D ROOM SCANS WITH ROOMPLAN https://developer.apple.com/wwdc22/10127

Slide 130

Slide 130 text

https://developer.apple.com/wwdc22/10127

Slide 131

Slide 131 text

https://developer.apple.com/wwdc22/10127

Slide 132

Slide 132 text

!

Slide 133

Slide 133 text

! "

Slide 134

Slide 134 text

!

Slide 135

Slide 135 text

BRING YOUR WORLD INTO AUGMENTED REALITY https://developer.apple.com/wwdc22/10128

Slide 136

Slide 136 text

https://developer.apple.com/wwdc22/10128

Slide 137

Slide 137 text

No content

Slide 138

Slide 138 text

No content

Slide 139

Slide 139 text

!

Slide 140

Slide 140 text

! AWARDS

Slide 141

Slide 141 text

! MOST PUNS

Slide 142

Slide 142 text

! MOST PUNS GET MORE MILEAGE OUT OF YOUR APP WITH CARPLAY https://developer.apple.com/videos/play/wwdc2022/10016/

Slide 143

Slide 143 text

! BEST JOKE DELIVERY

Slide 144

Slide 144 text

BEST JOKE DELIVERY https://developer.apple.com/videos/play/wwdc2022/110354/

Slide 145

Slide 145 text

No content

Slide 146

Slide 146 text

! BEST EXAGGERATED PAUSE

Slide 147

Slide 147 text

! BEST EXAGGERATED PAUSE WRITING FOR INTERFACES https://developer.apple.com/wwdc22/10037

Slide 148

Slide 148 text

BEST EXAGGERATED PAUSE https://developer.apple.com/wwdc22/10037

Slide 149

Slide 149 text

! BEST EXCUSE TO WORK YOUR HOBBY INTO A VIDEO

Slide 150

Slide 150 text

No content

Slide 151

Slide 151 text

No content

Slide 152

Slide 152 text

! BEST EXCUSE TO WORK YOUR HOBBY INTO A VIDEO

Slide 153

Slide 153 text

! BEST EXCUSE TO WORK YOUR HOBBY INTO A VIDEO https://developer.apple.com/wwdc22/10128

Slide 154

Slide 154 text

! BEST EXCUSE TO WORK YOUR HOBBY INTO A VIDEO https://developer.apple.com/wwdc22/10128

Slide 155

Slide 155 text

! BEST EMOJI ABUSE

Slide 156

Slide 156 text

! BEST EMOJI ABUSE CREATE SWIFT PACKAGE MANAGER PLUGINS https://developer.apple.com/wwdc22/110401

Slide 157

Slide 157 text

https://developer.apple.com/wwdc22/110401

Slide 158

Slide 158 text

https://developer.apple.com/wwdc22/110401

Slide 159

Slide 159 text

No content

Slide 160

Slide 160 text

OBLIGATORY SUMMARY SLIDE

Slide 161

Slide 161 text

OBLIGATORY SUMMARY SLIDE ▸ Trying to watch 120 WWDC videos in 2.5 weeks is not possible

Slide 162

Slide 162 text

OBLIGATORY SUMMARY SLIDE ▸ Trying to watch 120 WWDC videos in 2.5 weeks is not possible ▸ There's tons of things never mentioned in the SOTU that will make your life easier

Slide 163

Slide 163 text

OBLIGATORY SUMMARY SLIDE ▸ Trying to watch 120 WWDC videos in 2.5 weeks is not possible ▸ There's tons of things never mentioned in the SOTU that will make your life easier ▸ Apple is definitely trying to send messages through WWDC videos, if you know what to look for.

Slide 164

Slide 164 text

No content

Slide 165

Slide 165 text

DANK JULLIE WEL!