Those Who Swift - Issue 222
Weekly note ✏️Being a developer isn’t just about sticking to one domain. Even outside of full-stack roles, development often feels like solving a puzzle—assembling a solution from whatever pieces are available. It’s not unusual to dip into shell scripting for performance tweaks or to batch-process large image assets. Or to write a quick Cloud Function to offload some server-side logic. Sometimes you even find yourself diving into a C-based library to talk directly to hardware. Our tech stack boundaries are paper-thin, layered like an onion—and yes, sometimes there are tears when digging too deep. Without watching how others build things, we risk missing key ideas, language features, or even better architecture patterns. And indie developers are the ultimate proof: they code, design, market, analyze, and iterate—all on their own. From UI to backend, from ASO to customer feedback—they’re true all-rounders. The more tools you’re familiar with, the more flexible and creative your solutions can become. Don’t hesitate to expand—new tools are always around the corner. Connect with the "Those Who Swift" team - Justas Markus & Anton Gubarenko 👋 Sponsor 🤝CodeRabbit’s Free AI Code Reviews in your IDE—VS Code, Cursor, WindsurfCodeRabbit is the AI code review platform purpose built to speed up code reviews and improve code quality. Integrating seamlessly into git workflows and existing toolchains, it delivers codebase-aware reviews and supports all programming languages. Now they are excited to deliver AI code reviews directly in VS Code, Cursor, and Windsurf–letting you and your team (vibe) code with confidence and review while keeping in flow. Even better: Code reviews in the IDE are free! That’s right: line-by-line reviews and one-click fixes, all in your IDE at no cost to you. Swift Around the Web 🌐How to Add Custom Guardrails to Apple’s FoundationModels GenerationNatashaTheRobot shows you how to add custom guardrails to Apple’s on-device FoundationModels framework using structured prompts and validation logic. You’ll learn to filter or transform user input with typesafe rules before sending it to the model, ensuring more reliable and safe AI interactions. Using WebKit to Load Web Content in SwiftUIArtem Novichkov demonstrates how to use new WebView for seamless integration in SwiftUI, allowing apps to load, display, and even cache web content. Using new native methods, he shows how to fetch webpage HTML asynchronously with async/await and render it efficiently. Coding 👨💻Setting Default Actor Isolation in Xcode 26Donny Wals explains that new Xcode 26 projects now enable “Approachable Concurrency” by default, which sets code isolation to MainActor and applies nonisolated(nonsending) to async functions—simplifying safe concurrency management. It’s a smart step toward more intuitive and reliable Swift concurrency. Introducing the Animatable Macro in SwiftUIMajid showcases the new @Animatable macro, which automatically makes view or shape properties smoothly animatable—no manual conformance to Animatable needed. You’ll see how adding @Animatable to a simple Apple 🍏Welcome to Machine Learning TutorialsApple’s updated “Welcome to Machine Learning” tutorial series introduces how to integrate machine learning across Apple platforms using Swift and Xcode. You’ll build real-world applications like sentiment analysis, text recognition, and custom model training with Create ML and Core ML—all on-device. It’s a complete, practical starting point for iOS developers looking to add intelligent features to their apps. Design 🎨Adapting Search to the Liquid Glass Design SystemMatteo Altobello shows how to enhance SwiftUI apps using the new Liquid Glass design from WWDC25, focusing on the adapted search experience. The updated search bar dynamically shifts between expanded and compact styles, gliding into place at the bottom on iPhones or top-right on larger screens. Other cool stuff 🧰What You Need to Know Before Migrating to Swift TestingArticle highlights key pitfalls when transitioning from XCTest to Apple’s new Swift Testing framework—like unexpected parallel test execution and test isolation quirks. Migrating offers syntax improvements and better macros, but developers should be aware of issues like managing test order and adapting setup/teardown workflows. An Open‑Source SDK for Finding Dead CodeSentry has released Reaper, an open-source SDK from acquired Emerge Tools that identifies dead code in iOS and Android applications. It analyzes your codebase to highlight unused methods and classes, helping you clean up and maintain leaner, more efficient apps. A powerful tool for developers striving to reduce technical debt with data-driven insights. AI 🤖Chat4Data – AI Web Scraping ExtensionChat4Data is a Chrome extension that lets you extract structured webpage data—like tables, images, links, and contact details—using simple natural language chats. It auto-detects pagination, exports results in Excel format, and offers 1 million free tokens for beta users, making advanced scraping accessible to non-coders. Tutorials 📒Grouping Elements Within a Glass Effect Container in SwiftUITutorial showcases how to use iOS 26’s new GlassEffectContainer and glassEffect() modifier to visually unify multiple UI elements—like buttons—into a single Liquid Glass group Video 🎥Attribute Graph ExplainedChris Eidhof shares his insights into SwiftUI’s internal Attribute Graph, a dependency-tracking structure that efficiently governs view redraws and layout updates. You’ll see how state properties map to view bodies, how invalidation works, and why some layout updates occur even when views aren’t re-evaluated—enhancing your understanding of SwiftUI. Yet, another thing…👾Algorithms VizualizerAlgorithm Visualizer helps you observe how algorithms work by providing visual representations of code across different programming languages. This interactive approach makes it easier to grasp the behavior and flow of algorithms. Thanks for reading Those Who Swift! Subscribe for free to receive new posts. |