An easier way to use standard buttons types in SwiftUI
A SwiftUI tutorial on creating a reusable enum to streamline standard button types (add, delete, edit) with localization support.
A SwiftUI tutorial on creating a reusable enum to streamline standard button types (add, delete, edit) with localization support.
Explains how to create custom environment values in SwiftUI, covering the standard method and noting updates from WWDC24.
A SwiftUI tutorial on creating a custom LabelStyle to tint only the icon, leaving the text color unchanged.
SwiftUI best practices for using @StateObject property wrappers to avoid performance pitfalls and bugs during initialization.
Explains unexpected scaling behavior of UIFontMetrics and @ScaledMetric in iOS/iPadOS and provides a workaround for proportional UI scaling.
A developer shares their challenging journey learning SwiftUI, comparing it to web frameworks and detailing the initial struggles and eventual breakthroughs.
A developer's guide to understanding and correctly implementing the often confusing SwiftUI alignment guide API for custom view layouts.
An Apple developer shares the holiday story of their new emoji picker app being rejected from the iOS App Store for mimicking Apple's native emoji catalog.
A guide to implementing quick, keyboard-first search in SwiftUI using the .searchable modifier, with platform-specific solutions for iOS and macOS.
A tutorial on implementing background blur effects using SwiftUI's materials to enhance text visibility over images.
A guide to customizing the macOS About Panel in a SwiftUI application using project settings, bundle files, and code.
A tutorial on customizing the macOS app menu bar using SwiftUI's CommandMenu and CommandGroup modifiers.
A guide on integrating CoreData with SwiftUI for iOS app development, covering setup, context management, and data persistence.
Explains SwiftData, the new Swift framework for data modeling built on CoreData, with practical SwiftUI examples for iOS 17+.
Learn how to create scrollable charts using the new SwiftUI Charts APIs introduced in iOS 17 and Xcode 15.
A developer shares a solution for a SwiftUI shadow animation glitch that occurs during tab switching, using the .id modifier to force view recreation.
A technical guide for iOS developers on detecting and updating widgets for iOS 17's StandBy mode using the containerBackground API.
A SwiftUI tutorial on how to make a multiline TextField dismiss the keyboard when the return key is pressed, using FocusState and custom modifiers.
A tutorial on implementing drag-and-drop reordering functionality for LazyVGrid, LazyHGrid, LazyVStack, and LazyHStack in SwiftUI.
A guide to creating cleaner and more readable grid initialization code in SwiftUI using custom extensions for GridItem.