Change the repository type filter
All
Repositories list
33 repositories
- Expose your app's features to Siri, Shortcuts, and Spotlight with App Intents, the Swift-native replacement for SiriKit in iOS 16 and later.
- Continuations bridge completion-handler APIs into async/await. The checked variant catches the two ways you can get it wrong, and the unsafe one trusts you comp…
- Swift 6's data-race safety is real, but it has blind spots. Here are the places the compiler can't see, and how to stop treating a clean build as proof your cod…
- OSAllocatedUnfairLock wraps os_unfair_lock with a closure-based API that makes it impossible to forget to unlock and keeps the lock's storage alive for as long …
- SE-0491 introduces the :: operator to disambiguate names that come from different modules. Here is when you actually need it and the gotchas worth knowing.
- How to set up custom URL schemes and Universal Links in iOS, handle incoming URLs in SwiftUI, and route users to the right screen.
- A practical guide to scheduling and handling local notifications in iOS using UNUserNotificationCenter, from permission requests to actionable notification cate…
- Build a @DefaultEmpty property wrapper that automatically defaults missing or null array fields to an empty array when decoding JSON in Swift.
- URLProtocol is one of the oldest interception points in Foundation's networking stack. It lets you mock, log, or transform any URLSession request without touchi…
- Master Swift's TaskGroup for parallel async work with proper cancellation, error handling, and result collection. Learn common patterns for batch operations and…
swift-regex-builder-dsl
PublicLearn how to use Swift's RegexBuilder DSL to create readable, type-safe regular expressions with compile-time checking and strongly-typed captures.- A practical guide to Swift error handling covering throw/try/catch fundamentals, custom error types, Result, async error patterns, and typed throws introduced i…
swiftui-animations-guide
Public- Create interactive buttons for the Control Center using ControlWidgetButton and App Intents in iOS 18.
frame-vs-bounds-uiview
Public- Use ViewThatFits to automatically select the best layout variant based on available space, without writing manual size calculations.
- Add haptic feedback to your SwiftUI views using the sensoryFeedback modifier, with built-in support for success, error, impact, and selection feedback.
- Learn how to use AlarmKit to schedule alarms and countdown timers that appear on the Lock Screen and Dynamic Island on iOS 26.
swift-charts-basics
PublicLearn how to create beautiful, interactive charts in SwiftUI using Apple's Swift Charts framework, from simple line charts to customized bar graphs.- Learn how to use Swift's @Observable macro introduced in iOS 17, understand its advantages over ObservableObject, and migrate your existing code to the modern o…
- Learn how to test push notifications on iOS simulators without needing a device or server setup using xcrun simctl push.
- Compare @AppStorage, UserDefaults, and SwiftData for persisting data in Swift apps. Learn when each approach makes sense and how to use them effectively.
- If your Live Activity renders a grey box instead of your image, the problem is almost certainly the image size. Here's how to fix it.
- Use the #Preview macro to preview your Live Activity views directly in Xcode without running the full app.
- Objective-C's nullability annotations tell the compiler which pointers can be nil. They catch bugs at compile time and make your code bridge to Swift cleanly.
- Objective-C's lightweight generics let you specify element types for collections like NSArray<NSString *>. They catch type mismatches at compile time and improv…
- NSError is the standard error handling mechanism in Objective-C, but using it defensively requires more than just passing a pointer. Learn patterns that prevent…
ProTip! When viewing an organization's repositories, you can use the
props. filter to filter by custom property.