All posts

Posts tagged with: UIKit

8 posts found

The brass pendulum and gears of an old clock mechanism, stopped mid-swing
iOS Development Swift

Your Timer Stops Every Time the User Scrolls. Timer Is Working Exactly as Documented.

A scheduled Timer silently stops firing the moment a user touches a scroll view, because scheduledTimer adds itself to the run loop's default mode and scrolling switches to tracking mode. Here's the mechanism, and why reaching for .common isn't automatically the right fix.

6 min read
Empty chairs arranged in a circle, evoking musical chairs and mismatched seats
UIKit iOS Development

Your Table View Cell Shows the Wrong Image. The Network Call Was Right — The Cell Just Wasn't.

UITableView and UICollectionView reuse cell views to stay fast, but an async image load or network callback that fires after a cell has been recycled writes into the wrong row. Here's why it happens, why it's so hard to reproduce, and the three fixes that actually close it.

6 min read
A contact sheet of small photo thumbnails laid out in a grid — the size the image actually needs to be decoded at, not the size it was shot at
SwiftUI Performance

Your SwiftUI List Scrolls Like Mud. The Images Aren't the Problem — Decoding Them at Full Size Is.

Loading a photo into a 60pt thumbnail still decodes it at full resolution unless you tell iOS otherwise. Here's the actual fix: CGImageSourceCreateThumbnailAtIndex, why UIImage(data:) alone doesn't help, and how to downsample before a pixel ever hits the view.

6 min read
A building permanently wrapped in construction scaffolding
SwiftUI iOS Development

SwiftUI Just Turned Seven. Hacker News Is Having the Itch.

SwiftUI shipped in 2019 and just hit its seven-year mark, and a viral Hacker News thread (plus pieces from Yakov Manshin and John Gruber) is relitigating whether it ever grew up. I've built a real app in it for months — here's where my own bugs match the complaints, and where they don't.

7 min read
A vintage black typewriter and a modern MacBook sitting side by side on a wooden desk, shot from directly above — the old tool and the new one, both still doing real work.
Swift UIKit

UIKit Tricks SwiftUI Still Can't Do (Yet): Back to UIViewRepresentable

Day 28 of the 30-day iOS series. SwiftUI has no PDF viewer, no custom keyboard primitive, and no waterfall grid — five real gaps where you still reach for UIViewRepresentable, anchored by a real PDFKit-backed brew history export built TDD-first for BrewLog.

10 min read
A smartphone with colorful glass-like reflections representing Apple's mandatory Liquid Glass design language in iOS 27
iOS Development Liquid Glass

Your App Just Got an Eviction Notice: Liquid Glass Is Mandatory in iOS 27

Apple confirmed Liquid Glass is non-negotiable in Xcode 27. Your custom tab bars, navigation views, and carefully crafted layouts are about to meet a wrecking ball called UIDropShadowView. Here's exactly what breaks, what the timeline looks like, and how to survive the migration before WWDC drops on June 8.

9 min read
A close-up of frosted glass with soft textures and gradients — a visual metaphor for Apple's Liquid Glass design language and its translucency controversy
iOS Development Liquid Glass

Liquid Glass Turns One. We're Still Squinting.

Apple's Liquid Glass design language is celebrating its first birthday — and the party is divided. With WWDC 2026 two weeks away and iOS 27 doubling down, here's where things actually stand for developers: the wins, the accessibility mess, the adoption gap, and why your next SwiftUI update might need reading glasses.

9 min read
Leaked dummy models of the Apple iPhone Fold alongside iPhone 18 Pro models showing the book-style foldable form factor
iPhone Fold iOS Development

The iPhone Fold Ships in September. Your App Layout Just Had a Panic Attack.

Apple's foldable iPhone has entered trial production. A 7.76-inch inner display, book-style fold, and no Face ID. SwiftUI developers have a head start. UIKit holdouts should start stretching.

9 min read