Weekly note ✏️
The discussion around the best data-slicing pattern always seems to land in the same category as debates over dark vs. light themes or the best code editor—everyone has strong opinions shaped by their experience with different architectures.
Whether it’s MVC, MVP, MVI, MVVM, VIPER, or RIB, there’s no one-size-fits-all solution—each exists to address specific needs.
Want to keep things simple with SwiftUI by storing state only within Views? Go for it. Need a large, testable module with shared behavior across Views? MVVM or VIPER might be a better fit. Finding the right balance between maintainability and scalability is a skill that grows with experience. In the end, just choose what benefits your project the most.
Connect with the "Those Who Swift" team - Justas Markus & Anton Gubarenko 👋
Sponsor 🤝
Supercharge your GitHub Actions with fully managed M4 Pro runners from Cirrus Labs
The fastest Apple Silicon chips at a fixed monthly price. Start your free 10-day trial plus 50% off your first month with code WHOSWIFT50OFF — exclusively for subscribers.
Swift Around the Web 🌐
Conquering Optionals in Swift — A Deep Dive
Explore Swift's optionals, a fundamental feature for handling the absence of values safely and expressively. This deep dive covers the basics of optionals, unwrapping techniques, and best practices to avoid common pitfalls and crashes.
Read more.📍
Music Recognition with ShazamKit
Learn how to integrate ShazamKit into your iOS apps to enable music recognition capabilities with Artem Novichkov. This guide covers setting up ShazamKit, recognizing songs using SHManagedSession
, and managing a library of identified tracks with SHLibrary
. Code examples demonstrate implementing these features effectively.
Read more.📍
Books 📚
SwiftUI Fundamentals: a deeper look into the framework🔥
Natalia Panferova, from Nil Coalescing, has just released an incredible new book diving deep into the core of SwiftUI. Covering essential topics like APIs, data flows, state updates, and much more, this book is a must-read for anyone serious about mastering SwiftUI.
With her experience as part of the SwiftUI team at Apple, Natalia brings unparalleled insight and depth to the subject—making this one of the most detailed and authoritative resources available.
And here’s the best part: our readers can grab a copy at a 20% discount! Use the code ThoseWhoSwift for a limited-time offer (1 week). Don’t miss out!
Get it here.📍
Coding 👨💻
Push Notification Service Extension
Chase provides a comprehensive guide on enhancing push notifications in Swift using Notification Service Extensions. Code examples demonstrate how to implement these features effectively, enabling developers to deliver richer and more engaging notifications to users.
Read more.📍
Separating Concerns in SwiftData Models, or: @Query Considered Harmful
Geoff Pado critiques the use of the @Query
property wrapper in SwiftData, arguing that it violates the separation of concerns principle by coupling data fetching directly with SwiftUI views. He illustrates how this approach can lead to fragile and hard-to-maintain code, especially as applications evolve.
Read more.📍
Faking Value Semantics with Custom FormatStyles
Explore how to implement custom FormatStyle
in Swift while maintaining value semantics. You will learn the inefficiencies of NSFormatter
and how FormatStyle
provides a lightweight alternative, especially for SwiftUI.
Read more.📍
Apple News 🍏
Apple Developer is now on WeChat
Company has launched an official Apple Developer account on WeChat to provide the developer community with news, announcements, and information about upcoming activities. This initiative aims to enhance communication and engagement with developers.
Read more.📍
Apple introduces News+ Food
Apple has announced the upcoming launch of Apple News+ Food, a new section within the Apple News app that will provide subscribers with access to tens of thousands of recipes, restaurant reviews, kitchen tips, and more.
Read more.📍
Get ready with the latest beta releases
Apple has released beta versions of iOS 18.4, iPadOS 18.4, macOS 15.4, tvOS 18.4, visionOS 2.4, and watchOS 11.4. We can to test our apps with these updates using Xcode 16.3 to ensure compatibility and take advantage of new features. Starting April 24, 2025, apps submitted to App Store Connect must be built with Xcode 16 or later, targeting the latest SDKs.
Read more.📍
Other cool stuff 🧰
Imperative, Functional, Functional Reactive: Do you know the difference?
Explore the distinctions between imperative, functional, and functional reactive programming paradigms. Pretty straight and clear explanations with examples.
Read more.📍
Tapping on Stack Views
Keith Harrison explains that applying gestures directly to stack views can lead to unexpected behavior, as only the areas occupied by the stack's subviews are tappable. By utilizing contentShape
, developers can define a tappable area for the entire stack, ensuring consistent gesture recognition across the intended region. This approach enhances the user experience by making the entire stack view responsive to taps.
Read more.📍
AI 🤖
Grok 3 release
xAI introduced Grok 3, a significant upgrade utilizing over ten times the computing power of its predecessor. Early tests indicate that Grok 3 outperforms models from OpenAI, Google, and DeepSeek, particularly in complex reasoning tasks.
Read more.📍
Drive AI
The Drive AI is an innovative platform designed to transform your files into an intelligent knowledge base. It enables users to store and organize various file types—including audio, websites, and YouTube videos—and offers AI-powered features to analyze and generate content. With access to over 10 AI models, including GPT-4, DeepSeek, Claude, and Gemini, users can ask questions about their files, receive accurate answers with sources, and collaboratively write and share notes
Read more.📍
Tutorials 📒
Implementing Look Around with MapKit in SwiftUI
Matteo Altobello provides a comprehensive guide on integrating MapKit's Look Around feature into SwiftUI applications, enabling developers to offer users an interactive 3D street-level experience. Through clear code examples, he illustrates how to set up and present Look Around scenes effectively within your app.
Read more.📍
Video 🎥
Mastering Images in SwiftUI – Assets, Bundles, Remote URLs & Effects
In this SwiftUI tutorial, Stewart Lynch takes a deep dive into everything you need to know about working with images in SwiftUI. From loading images from your asset catalog and app bundle to fetching remote images from a URL—he cover it all!
Watch here.📍
Friends
Donny Walls is offering 15% off his practical bundle of all three books to our community members.