Building Interactive Glass Controls in SwiftUI
Make your glass elements respond to touch with scaling, shimmer effects, and touch-point illumination using the interactive() modifier and glass button styles.
// 182 articles available
Make your glass elements respond to touch with scaling, shimmer effects, and touch-point illumination using the interactive() modifier and glass button styles.
iOS 26 introduces Liquid Glass, a translucent design language for navigation elements. Here's how to apply the glassEffect modifier to your custom views.
Learn different approaches for handling optional ObservableObject instances in SwiftUI, from conditional rendering to wrapper patterns.
PermissionKit lets children request parental permission to communicate with new contacts directly through Messages. Here's how to integrate it into your social or messaging app to create safer communication experiences.
When building UIs that stream AI-generated content using Apple's Foundation Models framework, testing intermediate states in Xcode Previews requires some creative workarounds. Here's how to preview partially generated content without calling the actual model.
Resize images in SwiftUI using resizable(), frame(), scaledToFit, and scaledToFill. See clear examples and avoid the common aspect-ratio bugs.
Learn how to round only certain corners of a SwiftUI view using UnevenRoundedRectangle, custom shapes, and clipShape.
Learn how to use AlarmKit to schedule alarms and countdown timers that appear on the Lock Screen and Dynamic Island on iOS 26.
Understand the difference between @State and @Binding in SwiftUI, when to use each, and how they work together to manage data flow between views.
Learn how to use SF Symbols in your SwiftUI apps, including sizing, coloring, animations, and finding the right symbol for your needs.
Google Play now requires 16KB page size support for Android apps. Here's how to fix alignment errors in your React Native project before your next release gets rejected.
A practical guide to the different methods for adding single elements, multiple elements, and inserting at specific positions in Swift arrays.
Understanding the difference between frame alignment and stack alignment is the key to centering views exactly where you want them in SwiftUI.
React Native projects require running lots of shell commands. Here's how to configure Claude Code's permission system so you're not constantly approving the same operations.
How to add custom fonts to your SwiftUI app, use system font variants, and ensure your typography scales properly with Dynamic Type.
Failable initializers offer a cleaner alternative to if-let statements when your SwiftUI views depend on optional data.
How to traverse the view controller hierarchy to find the currently visible view controller.
Fix Xcode's No such module error: check the target's linked frameworks, open the .xcworkspace, reset package caches, and match the build configuration.
A refactoring mishap with arithmetic expressions led me down the rabbit hole of operator precedence differences between Swift and Objective-C. Here's what to watch for.
Seeing pod install fail with Unknown ISA PBXFileSystemSynchronizedRootGroup? Xcode 16's folder-based groups are the cause. Here's the quick fix.
How to present a second sheet from within an already-presented sheet in SwiftUI.
How to detect when users scroll to the bottom of a list and automatically load more content.
Actors provide compile-time safety for shared mutable state in Swift. Here's when to use them and how they compare to older approaches.
Swift offers actors, GCD, and locks for thread safety. Each solves the same problem differently. Here's how to choose.
Grand Central Dispatch remains a practical choice for thread safety in Swift, especially when you need synchronous access or are working with legacy code.
Locks offer the lowest overhead for thread synchronization in Swift. Here's when that matters and how to use them safely.
Safe areas keep your content visible and interactive. Here's how they work in SwiftUI and when you should ignore them.
When the iOS Simulator refuses to launch, gets stuck booting, or shows a black screen, here's how to diagnose and fix it.
Learn how to display human-readable relative timestamps like "5 minutes ago" or "yesterday" using RelativeDateTimeFormatter in your SwiftUI apps.
When Xcode's indexing gets stuck or takes forever, your autocomplete and jump-to-definition stop working. Here's how to get it unstuck.