Trending

Contents

Managing simultaneous, in sequence and exclusive gestures

How to compose SwiftUI gestures: chain LongPress → Drag with SequenceGesture (.sequenced) and manage state via @GestureState + .updating/.onChanged; run Drag and Rotate together with .simultaneously(with:); make Tap vs LongPress exclusive with ExclusiveGesture. Apply via .offset, .rotationEffect, .scaleEffect.

Providing access to premium features with StoreKit 2

Build tiered subscriptions (Individual/Family) in SwiftUI with StoreKit 2. Create a StoreKit config, map levelOfService to tiers, finish transactions, observe Transaction.updates, show SubscriptionStoreView, and use manageSubscriptionsSheet. Tip: monthly/yearly share a level.

Apple Books Hero Effect - Synchronized Scroll Matched Geometry Effect - Complex UI - Xcode 26

Tutorial on recreating Apple Books’ hero transition in SwiftUI using matchedGeometryEffect. Implements synchronized scrolling and coordinated animations to build a complex UI in Xcode. Covers linking elements across views, managing animation state, and achieving smooth, responsive transitions.

How to use String Catalogs for pluralization in Swift

How to pluralize with Xcode String Catalogs: create a key, choose “Vary by Plural,” and provide localized forms using a numeric placeholder (%lld). Xcode generates typed accessors usable in SwiftUI Text(...) or String(localized: ...). Locale rules pick the right form—no interpolation or conditionals.

11 Things I learned after using AI Agents full-time

Practical lessons from coding with AI agents: use plan mode and persistent context (projects/skills), pick reasoning models, split work into small PRs, add hooks/rules, SwiftLint, and CI/tests (xcodebuild), and review diffs. Keep AGENTS evolving—agents amplify discipline.

Crafting document-based apps in SwiftUI

How to build document‑based apps in SwiftUI with DocumentGroup: implement FileDocument (or ReferenceFileDocument for snapshot/class models), define UTType via UniformTypeIdentifiers, and mirror them in Info.plist (CFBundleDocumentTypes, UTExported/Imported). Match IDs; rely on system browsing/saving.

Latest

Videos

How to Get Started with Agent Skills in Codex

Intro to Codex Agent Skills: package scripts and prompts into reusable capabilities so agents can perform repeatable tasks. Covers creating and organizing skills, configuring inputs, and invoking them in workflows. Takeaway: modularize agent behavior for reliable, maintainable AI features in apps.