How to let user select file from Files
A tutorial on implementing file selection from the iOS Files app using UIDocumentPickerViewController, covering setup, delegation, and security-scoped resource access.
A tutorial on implementing file selection from the iOS Files app using UIDocumentPickerViewController, covering setup, delegation, and security-scoped resource access.
The creator of Swift by Sundell reflects on the website's five-year anniversary, its growth, and future plans for content and the podcast.
Explains how Swift's @MainActor annotation works, detailing its implementation using global actors and custom executors to ensure code runs on the main thread.
Explores the challenges of designing a Codable format for Swift's AttributedString, focusing on Unicode complexities like grapheme clusters and normalization.
Explains iterative and recursive solutions to merge two sorted linked lists in Swift, based on LeetCode problem #21.
A Swift tutorial solving the 'Longest Substring Without Repeating Characters' algorithm problem using a sliding window technique.
A tutorial explaining how to implement the MVVM (Model-View-ViewModel) architectural pattern in SwiftUI applications.
Learn how to use Swift's DispatchGroup to manage and synchronize multiple asynchronous API callbacks effectively.
A step-by-step tutorial on adding a basic iOS widget extension to an existing Xcode project using Swift and WidgetKit.
A guide to creating a type-safe heterogeneous dictionary in Swift, similar to SwiftUI's environment, with custom keys and value types.
A guide to implementing an accessible custom tab bar in iOS, covering the Large Content Viewer and .tabBar trait to match native behavior.
Explains Swift 5.6's type placeholders, a feature that simplifies generic type declarations by letting the compiler infer certain types.
A guide to implementing unit testing and UI testing for Swift applications, covering principles, best practices, and a practical case study.
Explains the Visitor design pattern in Swift with code examples, showing how to add functionality to objects without modifying their original code.
A technical guide to fully customizing the UINavigationBar in UIKit, covering background, title, button colors, and status bar style.
Announcing the fifth edition of Advanced Swift, updated for Swift 5.6 with new concurrency content, property wrappers, and a hardcover print edition.
A tutorial on building a Swift CLI tool for generating app icons on Linux and macOS using Swift Argument Parser and SwiftGD.
A tutorial on implementing single and multiple selection in UITableView using UIKit's diffable data sources.
A guide on introducing Test-Driven Development (TDD) to a software team through leading by example and building consensus.
Analyzes the downsides of exhaustive testing in The Composable Architecture (TCA), arguing it leads to fragile tests and violates TDD principles.