Those Who Swift - Issue 228
Weekly note ✏️Sometimes even a short break from the usual routine can work wonders for preventing burnout. Turning off email, limiting news feeds to just saving links for later, or simply stepping away for a weekend can help reset energy levels. Small pauses often bring the biggest clarity. This ties in perfectly with Remote’s Global Life-Work Balance Index 2025, which ranks countries based on factors like statutory leave, sick pay, working hours, healthcare access, public safety, and more . The result? New Zealand maintains the top spot with a standout score of 86.87, while many European countries—like Ireland, Belgium, Germany, and Norway—also shine with strong scores in both policy and wellbeing . At the same time, major economies like the U.S., China, and India didn’t make the top 10—highlighting a gap between economic power and systems that truly support life-first work culture . What this means for us: even small efforts to step away—like small getaway—can recharge our energy and give us a fresh perspective. Countries that prioritize life over constant grind remind us: it’s not only about the hours put in, but the balance that fuels long-term growth and wellbeing. So take a breath, enjoy the moments that matter, and return inspired—because the work you do should serve your life, not the other way around. Connect with the "Those Who Swift" team - Justas Markus & Anton Gubarenko 👋 Sponsor 🤝See Everything. Fix Anything. Stay Ahead of Bugs!Are you missing critical bugs because your app isn’t crashing? Bugfender captures real-time remote logs and crashes from all user devices, giving Swift developers complete visibility into hidden issues.Device-centric approach also includes integrated user feedback, so you can easily identify, understand, and fix bugs before your users notice. Try Bugfender today completely free, no credit card required. Swift Around the Web 🌐How to Work with SwiftData in the Background in Swift 6NatashaTheRobot explains how to safely perform background updates with SwiftData using ModelActor and PersistentIdentifier. This approach is especially useful for tasks like LLM-powered analysis, keeping the UI responsive while SwiftData handles updates reactively. Inspect & Optimize Image Decoding Timing in iOSThis post dives into understanding when image decoding occurs during the rendering pipeline—covering CPU usage, which thread handles it, and how it impacts rendering performance. It aims to help you profile and optimize image loading to improve your app’s responsiveness and efficiency. 5 Screenshot Tips To Grab Attention And Stop The ScrollTeodora of Designerants, sharing five actionable screenshot strategies—like using large text, contrast colors, and attention-grabbing artifacts—to boost App Store conversions. These techniques are designed to be simple, reusable, and effective across app niches, helping indie developers stand out in a crowded marketplace. Coding 👨💻Working with the Main Menu in SwiftUISwiftUI now makes it seamless to manage an app’s main menu—creating custom menus, inserting dividers, nesting submenus, and defining keyboard shortcuts—using the commands modifier within your scene. As of macOS 26 (and iPadOS support soon), system images in menu buttons now display correctly, while tools like CommandGroup let you replace, append, or remove built-in menu items with ease. Swift Sendable: A Practical Guide to Safer ConcurrencyThis article introduces the Sendable protocol and @Sendable closure annotation as essential tools for Swift developers to avoid silent, hard-to-diagnose data races in async code. Himali offers a clear explanation of how Sendable enforces thread safety, when opting for @unchecked Sendable may be appropriate, and practical patterns to use it effectively in real-world Swift projects. Apple 🍏Nonisolated Functions Become Nonsending by Default in Swift 6.2Swift 6.2 introduces a change where nonisolated async functions are treated as nonisolated(nonsending) by default. This means such functions now run on the caller’s actor instead of implicitly hopping to a background thread, making concurrency behavior more predictable. New Apple Session AvailableApple provides a rich lineup of developer-focused experiences through its “Upcoming Events” portal, including one-on-one Meet with Apple appointments, hands-on Labs, interactive Workshops, and other Special Events—all designed to help enhance platform knowledge and optimize app development workflows. Design 🎨Liquid Glass. Why?Craig Hockenberry questions the real purpose behind Apple’s bold Liquid Glass design language, noting that most outside of Apple haven’t been asking for more fluid, glassy visuals—but Apple has embraced it outright. He proposes that its emphasis on bezel-less aesthetics and “concentricity” hints at upcoming hardware with wraparound, flexible OLED screens, suggesting a synergy between hardware evolution and UI design strategy. Other cool stuff 🧰Hidden Gems in the Swift Argument Parser – Part INatan Rolnik uncovers lesser-known yet powerful features of the Swift Argument Parser. You’ll learn how to generate shell completion scripts (for Bash, Zsh, Fish), install them seamlessly, and enhance CLI usability with context-aware suggestions like file paths or preset value lists. How We Approach Releases at VaporTeam breaks down Vapor’s streamlined release process where every accepted pull request (outside of major version updates) becomes its own release. PRs are labeled—no-release-needed, semver-patch, or semver-minor—then after passing CI, Vapor’s bot “Penny” handles tagging, GitHub release creation, and Discord notification. AI 🤖GPT-5 for Coding: Prompting Cheat SheetOfficial one-page distilled guide on getting the best from GPT-5, whether through the API or your coding tools Tutorials 📒Getting Access to the User’s CalendarLearn how to request permission and work with the user’s calendar and reminders using Apple’s EventKit framework. The tutorial explains how to declare relevant Info.plist usage descriptions, use EKEventStore to request full or write-only access, and check authorization status before interacting with calendar data. Dive into the start of Calendar series. Video 🎥Make Foundation Models Deterministic: Greedy Decoding in SwiftPedro Rojas explains how to ensure deterministic behavior when using Foundation Models in Swift by applying a greedy decoding strategy. It demonstrates how setting a fixed decoding approach yields consistent outputs—vital for debugging, testing, or replication in AI workflows. Yet, another thing…🦆DB Quacks: Interactive SQL & DuckDB LearningDB Quacks is a free, browser-based interactive tutorial that teaches SQL fundamentals using DuckDB, guided by a charming arcade-style character named Duckbert. The platform allows you to write real SQL queries, complete progressive challenges, and deepen your database understanding step-by-step—perfect for beginners and enthusiasts alike. Thanks for reading Those Who Swift! Subscribe for free to receive new posts. |