Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WWDC Speedrun - AppDevCon, Amsterdam, June 2022

WWDC Speedrun - AppDevCon, Amsterdam, June 2022

Speedrunning a video game is trying to beat the game as quickly as possible. In WWDC terms, this means I shoved as much of WWDC into my face as time allowed in the 2.5 weeks between WWDC and AppDevCon. I share some of the neatest stuff that *didn’t* get mentioned in the Developer Tools State of the Union, and go a little deeper on some stuff that did.

Ellen Shapiro

June 24, 2022
Tweet

More Decks by Ellen Shapiro

Other Decks in Technology

Transcript

  1. WWDC SPEEDRUN APPDEVCON | AMSTERDAM | JUNE 2022 ELLEN SHAPIRO

    | DESIGNATEDNERD.COM | @DESIGNATEDNERD
  2. !

  3. PLAN A: WATCH AS MANY WWDC VIDEOS AS I COULD

    *- In three weeks without giving up my life
  4. 35

  5. !

  6. 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
  7. !

  8. LIMITATIONS ▸ No network access ▸ Cannot write outside the

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

    plugin's work directory by default ▸ Can ask permission to write within package's root directory
  10. 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
  11. XCODE CLOUD-SPECIFIC TIPS ▸ Variables set in Xcode Cloud take

    precedence https://developer.apple.com/wwdc22/110361
  12. 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
  13. 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
  14. AUTHOR FAST AND RELIABLE TESTS FOR XCODE CLOUD ANY CI

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

    on tearDown https://developer.apple.com/wwdc22/110361
  16. 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
  17. 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
  18. 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
  19. 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
  20. WRITING FOR INTERFACES HOW TO MAKE YOUR APP'S LANGUAGE LESS

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

    TO READ https://developer.apple.com/wwdc22/10037
  22. WHAT'S NEW IN WKWEBVIEW ▸ Remote debugger now works with

    all browser types https://developer.apple.com/wwdc22/10049
  23. WHAT'S NEW IN APP STORE CONNECT ▸ Version 2.0 of

    the App Store Connect API https://developer.apple.com/wwdc22/10043
  24. DISCOVER BENCHMARKS IN APP ANALYTICS ▸ Compare your app's performance

    to other ones in your category. https://developer.apple.com/wwdc22/10044
  25. MEET TRANSFERABLE ▸ Specify how data is passed between apps

    https://developer.apple.com/wwdc22/10062
  26. !

  27. ! "

  28. !

  29. !

  30. ! MOST PUNS GET MORE MILEAGE OUT OF YOUR APP

    WITH CARPLAY https://developer.apple.com/videos/play/wwdc2022/10016/
  31. ! BEST EXCUSE TO WORK YOUR HOBBY INTO A VIDEO

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

    https://developer.apple.com/wwdc22/10128
  33. 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
  34. 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.