Trending

Contents

iOS 27 Home Screen Widgets in SwiftUI: A Complete Guide

Guide to iOS 27 SwiftUI widgets: make a Widget/WidgetBundle, build a TimelineProvider with meaningful reloads, render with containerBackground, add App Intents for interactivity, and reuse them in a Control Center control. New: extra‑large portrait size, smoother transitions, tighter budgets. Share via App Group UserDefaults; reload with WidgetCenter.

SwiftUI Adaptable Sheet's | Landscape Pinned Sheet's | Xcode 27

Create an adaptable SwiftUI sheet that pins to the leading edge in landscape. The video uses SwiftUI’s sheet presentation and orientation/size‑class checks to switch layout, align to the leading side, and respect safe areas. Covers handling rotation and iPhone/iPad differences for a responsive panel UX.

Subscription Apps Making 10x More With This One Trick

Presentation explains what sets high-performing subscription apps apart and shares one actionable tactic claimed to 10x revenue. It outlines how to apply the approach and assess results. Takeaway: focus on optimizing monetization across subscription flows to improve conversion and long-term revenue.

Custom bindings in SwiftUI: closures vs subscripts

Explains that Binding(get:set:) recreates closures on each body run, causing allocations and unnecessary row updates when unrelated state changes. Prefer a labeled subscript on an @Observable model and bind via $model[...] for a stable dependency. Use _printChanges() to debug.

Apple Photos and Face Recognition in 512-D Hyperspace

Build a Photos-like face grouping pipeline on iOS: use Vision’s VNDetectFaceRectanglesRequest to find faces, discard tiny/low‑confidence hits, convert crops into 512‑D embeddings, then cluster to identify people—all on-device. Includes a sample project and optimization notes.

On-Device AI in SwiftUI with Apple's Foundation Models

Use FoundationModels to run on‑device AI in SwiftUI: check availability, chat with LanguageModelSession, get typed values via @Generable/@Guide, stream results, and add Tool calls. iOS 27 adds image input and Private Cloud Compute with unified routing.

Latest

Videos

Complex UI: Recreating iOS Lock Screen UI Animations Using SwiftUI | Stacked Scrollview | Xcode

Build a complex SwiftUI interface that recreates iOS Lock Screen animations. The video shows how to structure a stacked ScrollView and drive polished transitions using SwiftUI’s animation modifiers and view layering in Xcode. Takeaway: patterns for system-like, fluid animations in SwiftUI.