Use MainActor.assumeIsolated in a synchronous context to create closure safely on the main thread and return Sendable types, achieving full compatibility without warnings or errors.
Explore how Swift 6 uses Sendable, @Sendable, sending, and nonsending to enforce concurrency safety, ensure thread-safe data transfer, and prevent race conditions.
Swift 6.2’s Default Actor Isolation reduces boilerplate by inferring isolation for unmarked code, but brings new actor-boundary rules and macro challenges
Discover Swift 6.2’s new concurrency-safe NotificationCenter.Message APIs to ensure type safety, eliminate runtime errors, and streamline notification handling.
Build a generic, type-safe DataFrame export tool in Swift using TabularData, KeyPath, and ResultBuilder—with column selection, mapping, and filtering support
Master Swift’s Measurement API for safe unit conversion, precise formatting, and custom unit support—perfect for building internationalized, user-friendly iOS apps
Swift 6.1 now supports official WebAssembly builds via SwiftWasm—no patches needed. Use JavaScriptKit for seamless Swift–JavaScript interaction in WASM apps.
Intercept and analyze iPhone app network requests using Proxyman. Learn how to decrypt HTTP(S) traffic, mock server responses, and optimize mobile app debugging with Map Local and advanced network tools.
SwiftUI in Swift 6 fails with @State in view modifiers due to stricter concurrency & @MainActor. Learn solutions for alignmentGuide, scrollTransition & more.
Explore five open-source Swift modules from a recent app refactor, including SimpleLogger, iCloudSyncStatusKit, ObservableDefaults, CoreDataEvolution, and ModelActorX.
Explore Swift KeyPath: understand its power, types (AnyKeyPath, WritableKeyPath), usage, and how it enhances metaprogramming. Master property access with KeyPath.
Explore how to efficiently manage UserDefaults with SwiftUI's Observation framework. This article provides a complete solution for precise, responsive data handling, including the @ObservableDefaults macro.
Explore how to use Swift Charts’ advanced APIs for precise data binning. Learn about NumberBins and DateBins for efficient data processing and visualization. Discover how to improve app performance.
Learn how to automatically merge String Catalogs across Swift packages in a monorepo during your main app's build, avoiding manual steps. Simplify i18n for Swift apps.
Explore Swift Testing, Apple’s new framework for writing faster, Swifter tests that align with Swift programming habits. Learn how to configure, write expectations, organize test cases and much more.
Explore using Swift for embedded development on the SwiftIO board. Learn how to abstract hardware, use familiar tools for development, and improve efficiency.
Explore Swift Predicate's structure, usage, and key considerations for data filtering. Learn how it enhances development with type safety, platform compatibility, and flexible syntax.
Explore the Observation framework in Swift 5.9: Learn its creation, usage, and benefits for SwiftUI performance. Understand how it improves upon KVO and Combine.
Explore how to make custom Swift property wrappers like @Published by enabling notifications to classes, using static subscript methods. Includes examples for @MyPublished, @PublishedObject, and @CloudStorage.
Explore how Combine and async/await can work together effectively. Learn their advantages, how to serialize event processing, and integrate them in Swift development, with practical code examples.
Explore Apple's new Formatter API in Swift. Learn its design, compare it with the old API, and discover how to create custom formatters with practical examples, including UIColor formatting.
Refactor SwiftUI state container with Swift 5.5's Async/Await. Learn how to handle side effects and ensure main thread updates for your app's state management.
Learn how to set up a robust Swift development & debugging environment on Linux. This guide covers installing Swift Toolchain, LSP, LLDB, SwiftFormat and SwiftLint for a cross-platform experience.