Those Who Swift - Issue 217
Weekly note ✏️You might think I’m talking about rocket science, pharmaceuticals, or high-precision calculations—but no. Today’s story is from the wonderfully unpredictable tech world. A colleague recently asked me to give a bit of advice to his friend—a small IT company owner—about a utility app. I started browsing the codebase and quickly noticed red flags: inconsistent naming, duplicate extensions doing the same thing but with slightly different parameters, unclear structure. In short, a lot of questionable decisions packed into a single project. Turns out, the entire app—from the first line of code to App Store submission—was developed by someone labeled as a “Junior+.” Naturally, I asked: “What does that mean in CS terms?” The answer? “It’s a skill range. The lower bound is knowing what the Xcode icon looks like… and the upper bound is unlimited.” It was a good reminder: sometimes a single sign, like naming conventions or project layout, can expose the bigger picture. Whether it’s a mismatch of skills or unclear responsibilities, small things often speak volumes. Next week brings something that does push boundaries in a positive way—WWDC! It’s a magical time for iOS developers: new tools, fresh APIs, system updates (maybe even version jumps 👀). Expect a flood of posts, podcasts, videos, and discussions. We’ll be curating the most interesting highlights and sharing them mid-week—stay tuned! Connect with the "Those Who Swift" team - Justas Markus & Anton Gubarenko 👋 Sponsor 🤝Try the all NEW RevenueCat Paywalls builder today!Try the beta for the new highly flexible, natively rendering Paywall UI framework from RevenueCat. With RevenueCat Paywalls you can remotely configure and edit your entire paywall view without waiting on App Review. Swift Around the Web 🌐Tips and Tricks for When Using SwiftUI’s ViewBuilderJohn Sundell explores how to leverage SwiftUI’s @ViewBuilder attribute to create more flexible and expressive custom views. He demonstrates building reusable containers with optional sections, handling multiple view expressions, and simplifying control flow within view hierarchies. SwiftUI Environment: Concepts and PracticeThis article delves into SwiftUI’s Environment as a mechanism for dependency injection, highlighting its role in simplifying data transfer between views and influencing application architecture. The author discusses the boundaries and design considerations of using Environment, offering insights into its practical applications and potential pitfalls. Coding 👨💻Art of the StateIn his article “Art of the State,” Scott Berrevoets delves into best practices for managing state in SwiftUI applications. He emphasizes the importance of using value types like structs and enums for state representation, as they help prevent unintended side effects and make the code more predictable. Unique Values in Swift: Removing Duplicates from an ArrayAntoine van der Lee explores methods to remove duplicates from arrays in Swift. He compares using a Set for unordered collections and a custom unique() extension for preserving order, providing practical code examples for both approaches. Quick Guide on Toolbars in SwiftUIThis concise guide explores how to implement and customize toolbars in SwiftUI. It covers adding toolbar items to various interface areas, such as the navigation bar, bottom bar, above the keyboard, and within modal views. The article provides practical examples, demonstrating how to use ToolbarItem and ToolbarItemGroup to create flexible and adaptive user interfaces. Design 🎨The Future of Design in an AI-Driven WorldGiselle Katics explores how AI is reshaping the role of designers—from creators to curators—by automating tasks and accelerating workflows. She emphasizes the importance of human judgment in ensuring AI-generated outputs remain ethical, original, and user-centered. Other cool stuff 🧰Swift’s withoutActuallyEscaping: Escape Without Escaping?This article explores Swift’s withoutActuallyEscaping function, which allows a non-escaping closure to be temporarily treated as escaping within a limited scope. The article provides practical examples to illustrate how this function helps maintain performance and safety by avoiding unnecessary allocations. Swift at Apple: Migrating the Password Monitoring Service from JavaApple transitioned its Password Monitoring service from Java to Swift to enhance performance, scalability, and efficiency. The move resulted in a 40% performance improvement, addressing challenges like JVM overhead and garbage collection pauses. Apple News 🍏Sleek PeekApple’s Worldwide Developers Conference (WWDC25) will be held online from June 9 to 13, offering developers a week of technology and creativity. The event will feature over 100 sessions, one-on-one labs with Apple engineers, and community activities, all free of charge. Apple Design Award winners 2025The 2025 Apple Design Awards celebrate outstanding innovation and craftsmanship across apps and games on Apple platforms. This year’s winners and finalists span categories such as Delight and Fun, Inclusivity, Innovation, Interaction, Social Impact, and Visuals and Graphics. Tools 🔧Bezel for MacBezel for Mac is an app to present you iPhone, iPad, Apple TV and Vision Pro on your Mac. With the release of version 3 you can go full screen, record and screenshot the device and it has a great new welcome screen you land on. Use code THOSEWHOSWIFT25 for 20% discount. AI 🤖Manus SlidesAI slides generator with surfing and editing capabilities has been released. It populates the presentation with great images and can export to PPTX or PDF. Tutorials 📒Integrating App Intents with Control ActionAntonella Giugliano demonstrates how to integrate App Intents with Control Center actions in a SwiftUI app. Using a book library example, she walks through exposing a custom “Add Book” intent, enabling users to trigger app-specific functionality directly from the Control Center. Video 🎥Task Closure Lifecycle in Swift Explained (vs Regular Closures)Great video bout differences of variables capturing of regular closure and Task closure. Modern Concurrency is more convenient and handling a lot based on this information from Pedro Rojas. Friends 🤝Famous Charles Proxy is offering a discount for our readers for al limited period of time. Use code ThoseWhoSwift to purchase a licenses for you or your team. Yet, another thing…Bandit - Online Security (or Not) GameAwesome online learning/training/exploring game when you need to connect via SSH to different servers, search info and connect to other. Polish or reveal your security skills! Thanks for reading Those Who Swift! Subscribe for free to receive new posts. |