Black Friday: Save 50% on RocketSim & Going Indie Course. Grab the deal.
BF: Save 50% on RocketSim & Going Indie Course.
Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 118
Jun 07, 2022

Can you guess my favorite WWDC 2022 announcement?

I guess you could after looking at this week's SwiftLee article. However, don't forget we're just getting started!

I purposely decided to write an article about a relatively small new feature of Xcode since I want to take the upcoming weeks to watch WWDC sessions and dive deeper into topics before writing about it. Therefore, you don't have to expect more articles from me this week.

Nevertheless, I do have a lot of favorite announcements to share! Though: I decided not to use the intro for sharing these but instead created a SwiftLee Weekly full of WWDC announcements you might have missed.

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

One of my favorite new features of WWDC 2022: Single-size app icons! You no longer need Sketch or Figma templates, you no longer need to use an App Icon Generator. Instead, you can simply change your App Icon Asset to use a single-size app icon and resize it to target sizes accordingly.

SPONSORED

Reliably measure app size, speed up your app's startup time with Emerge's Launch Booster, and much more. Emerge is actively used by many of the top mobile development teams in the world. Use Emerge’s advanced app optimization and monitoring tools and start optimizing your apps.

SWIFTLEE JOBS

Get your job positions listed on all 190+ SwiftLee articles and 4 SwiftLee Weekly editions. Read more.
(Germany)
Browse Swift-related Jobs, or add your own on SwiftLee Jobs.

CURATED FROM THE COMMUNITY

WWDC - SWIFTUI

There will definitely be sessions explaining those new environment values, but having them in one overview is a nice addition. I’m especially curious to know more about requestReview and displayStoreKitMessage.
Haven’t we all been looking for this solution? I needed this in the past, so I’m happy to be able to use this in the latest version of SwiftUI.
This has been one of those things that I’ve been searching the web for during RocketSim development. It’s great to see Oskar Groth sharing a new solution for this problem, most likely implemented in a much more optimized way.
Like always, Paul Hudson is on top of the latest WWDC changes. You can check out his What’s new in SwiftUI article, but I especially liked this tweet covering a quick way to create beautiful gradients.

WWDC - XCODE

We could already do this from the refactor menu, but having it available in autocompletion makes more sense. This will be one of those little productivity improvements.
Marco Eidinger ‍ gives us an overview of all new frameworks presented at this year’s dub dub. Related to this, you might also want to check out the New Technologies of WWDC22 page provided by Apple.
Ensure that this article by Apple gives guidance regarding the new Developer Mode when building for iOS 16 and watchOS 9. Developer Mode is introduced to protect non-developers from inadvertently installing potentially harmful software on their devices. This is great but does require us developers to perform a little extra step before development can start.
Bitcode was introduced to impact the size of apps, resulting in smaller binaries. Though many engineers have been running into “You must rebuild it with bitcode enabled,” so I was happy to see it being deprecated in Xcode 14.
There are many small (and bigger) improvements in Xcode this year. Like ending curly braces auto-indenting your code, pinning elements of your code structure, build performance insights or this codable refactor option. I can’t wait to see the What’s new in Xcode 14 session!
In case you wondered, John Sundell explains to you how this works. Much better experience if you ask me!

SWIFT

Just bookmark this website by Brett Ohland, and make sure to remember to visit this whenever you doubt which formatter to use in Swift. Pretty handy!

THANK YOU

Thanks for being a SwiftLee subscriber!

All my content is available to you for free. Like what I do and want to support me?
Help me reach my Sponsor goal on GitHub.