Showing a relative "Time ago" date in SwiftUI
Learn how to display human-readable relative timestamps like "5 minutes ago" or "yesterday" using...
// Build spatial computing experiences for Apple Vision Pro. Learn how to create immersive apps, work with 3D content, and leverage SwiftUI for visionOS development.
Learn how to display human-readable relative timestamps like "5 minutes ago" or "yesterday" using...
Learn how to add horizontal padding inside a TextEditor without affecting the scrollbar using the...
Real presentationDetents heights measured on iOS 27, what the detent order does, and what happens when you...
Learn multiple approaches to replace characters and substrings in Swift strings, from simple replacements to...
Learn how to prevent users from dismissing modal sheets by swiping down in SwiftUI using...
Add an AppDelegate to a SwiftUI app with @UIApplicationDelegateAdaptor to handle push tokens, launch options...
Learn how to symbolicate crash logs from App Store Connect and Xcode Cloud to debug production crashes...
Learn how to access SwiftUI environment values in View extensions using ViewModifiers for clean, reusable...
Learn how to create and display QR codes in SwiftUI using Core Image filters.
Read an environment variable in Swift with ProcessInfo.processInfo.environment["KEY"]. Set values per scheme...
Learn how to dump all SwiftUI environment values for debugging purposes.
Learn how to align single and multiline text in SwiftUI.
Learn how to use ScrollViewReader and ScrollViewProxy to scroll a SwiftUI list to a specific item...
Learn how to create a modifier that limits the characters that can be entered in a TextEditor or TextField...
Learn the ways to scale a text view's font size to fit its parent view in SwiftUI.
Learn how to use a WKWebView as a quick way to load a GIF from a URL and display it in a SwiftUI view.
Learn how to use DisclosureGroupStyle to create custom DisclosureGroup views in SwiftUI.
Learn how to force the navigation bar to show a background color in SwiftUI.
Learn how to detect if a SwiftUI app is running in a Xcode Preview.
Learn how to use kCFStringTransformToUnicodeName to get the system name for any emoji.
How to use the SwiftUI DisclosureGroup view to create collapsable content.