3 min read

Issue #71

Hi there, welcome to the 71st issue of iOS Code Review 👋

I'm really excited about a recent addition to the website - the comment section! Now all registered users (ie all email subscribers) can leave public comments on the issues. If you don't see the comment section - click "Sign in" to get the magic link to your email.
Looking forward to engaging in the open dialog or just reading your thoughts. And of course your emails are always a warmth to my heart :)

Now let's dive in!

Is it possible to make releases boring?
Squarespace’s Unfold team did. Learn what these non-eventful releases are like and how they came about, dig into how eventful they used to be, and hear why having uneventful releases is a superpower.
Read on Squarespace's blog

Ask WWDC AI

Someone (Matt Spear) built an AI Q&A layer on top of WWDC database. You can ask it any prompt and it will spit out a detailed answer together with links to relevant WWDC sessions. Here's my example about RoomPlan. This is genius.

Ask WWDC
Catching up on WWDC? Ask a question and we’ll give you a concise summary and recommend the most relevant sessions to watch!

Scroll view margins in SwiftUI

TIL about contentMargins available in SwiftUI from iOS 17 - the margin is added to the entire content of the scroll view. No need for extra spacers anymore 😬 There are various visual examples in the article 👇

Insetting Scrollable Views’ Content With contentMargins In SwiftUI – SerialCoder.dev
Adding margin to content of scrollable views in SwiftUI is just a matter of a single view modifier. Read here all you need to know about it.

Swift Regex examples

If you’ve ever struggled with regular expressions in Swift, this GitHub repo offers a clean and practical set of examples using Swift’s native Regex type:

GitHub - DandyLyons/NativeRegexExamples: A crowd sourced repository for examples of Swift’s native Regex type.
A crowd sourced repository for examples of Swift’s native Regex type. - DandyLyons/NativeRegexExamples

Aaaaand an online playground for playing around with Swift Regex:

Swift Regex: Learn, build and test Swift Regex
Regular Expression Tester with highlighting for Swift Regex. Quickly test and debug your regex and Regex Builder.

Enormous SwiftUI app architecture guide

Building large-scale apps in SwiftUI can be tricky, and a modular architecture is our friend. I dug up this super extensive article – sometimes that's just what you need 😀
When it comes to app architecture, taste plays a big role, but nonetheless one can find useful bits. I loved the idea of skipping the MVVM pattern and letting views talk directly to models, at least sometimes, not over-complicating areas of the app that can be kept simple.

Building Large Scale Apps Swiftui
Building Large-Scale Apps with SwiftUI: A Guide to Modular Architecture

✌️
Alright, that's it for today! Let's spread the good code vibes ✨🧘🌈☀️
Thank you to Runway for sponsoring this issue ❤️

Your comments in the comment section or direct replies by email are always welcome!