All posts

Posts tagged with: Swift

37 posts found

A bright orange DETOUR road sign with a black arrow pointing right — the moment a request reroutes from the on-device model to the server.
Swift SwiftUI

ThinkBud + Foundation Models: What I Shipped On-Device, and the Wall That Sent Me Back to the Server

Day 10 of the 30-day iOS series, the build-in-public finale of AI week. I took the on-device Foundation Models stack from Days 8 and 9 and bolted it into ThinkBud, an app I actually ship. Here's the honest field report: the bounded tasks the on-device model nailed for free and offline, the context-window wall a 100K-character textbook import smashed into, and the exact line of code where I gave up and routed to a server. Plus the one decision that's pure Swift — so it gets a real test.

13 min read
A speaker presenting on a conference stage to a packed audience — the energy of a keynote that changes what you'll build next (Photo: Unsplash)
WWDC 2026 iOS 27

Tim Cook Wiped a Tear, Siri Got a Google Brain, and Apple Shipped a Transparency Slider. WWDC 2026, Honestly.

The WWDC 2026 keynote just happened. Tim Cook's emotional farewell, Siri rebuilt on Gemini, Core AI replacing Core ML, Xcode 27 going full MCP, and Liquid Glass finally getting a slider. Here's what actually matters for your iOS codebase — no press release fluff.

8 min read
A grid of metal letterpress type blocks set into wooden compartments — each slot a defined, typed character, the analog ancestor of structured output.
Swift SwiftUI

@Generable: Make Apple's On-Device Model Hand You a Swift Struct, Not a String to Parse

Day 9 of the 30-day iOS series, part 2 of AI week. Yesterday Foundation Models gave us a String. Today we make it give us a typed Swift value — BrewSummary(flavor:, advice:, rating:) instead of a paragraph you regex your way through. @Generable, @Guide constraints, session.respond(to:generating:), and the sleeper-within-the-sleeper: tool calling, where the on-device model calls your own Swift code mid-answer. With the TDD seam, because typed output changes what you test.

14 min read
An open notebook with the word 'Notes' handwritten and underlined, a fountain pen resting on the page, reading glasses blurred behind it — the raw input a summarizer turns into one clean line.
Swift SwiftUI

Foundation Models: Your First On-Device AI Feature With No Backend, No API Key, No Bill

Day 8 of the 30-day iOS series, and the start of AI week. The Foundation Models framework runs a real language model entirely on the phone — free, private, offline. We build the smallest thing that works: summarize a block of text in three lines, handle the availability cases that bite in production, wire it into a real app, and put a TDD seam around the part that isn't the model. Code-along, with tests.

12 min read
A building wrapped in scaffolding mid-renovation — the new facade isn't up yet, so the old one stays protected. The same call you make with UIDesignRequiresCompatibility while your redesign is still in flight.
Swift SwiftUI

UIDesignRequiresCompatibility: When (and Why) Opting Out of Liquid Glass Is the Pro Move

Apple hands you one Info.plist key that freezes the old design for a full year. It's not a cop-out — for banking, enterprise, and apps caught mid-redesign, opting out of Liquid Glass is the responsible call. The exact flag, a real before/after from my own app, the deadline, and a decision matrix you can actually defend in a standup. Plus the per-screen rollout gate you should be testing instead.

11 min read
Light refracting through layered glass into a spray of color — the same object reading differently under different light, the way one Icon Composer document renders as light, dark, clear, and tinted.
Swift SwiftUI

Icon Composer and the New App-Icon Era: One Document Instead of Three Exported PNGs

iOS 26 wants your app icon in light, dark, clear, and tinted. The old way was three flat 1024px PNGs that quietly drifted apart. Icon Composer turns it into one layered .icon document the system relights for you. The real workflow from a single SVG to a full set — plus the one decision around icons you can actually unit-test.

12 min read
Orange and teal ink diffusing through water, translucent layers blending and morphing into each other — the visual metaphor for layering and morphing Liquid Glass effects.
Swift SwiftUI

Custom Liquid Glass Components: When to Leave the Defaults (and the Three Mistakes That Kill Your Frame Rate)

glassEffect(.regular, in:) with a custom shape, two glass blobs that morph into each other with glassEffectID, and the three things that turn buttery Liquid Glass into a stutter machine. Built on a real iPhone 17 Pro simulator, with the TDD seam that keeps the decision testable even though the render isn't.

12 min read
A dramatic red theater curtain on an empty stage — symbolizing Tim Cook's final WWDC keynote curtain call before handing the CEO role to John Ternus
WWDC 2026 Tim Cook

Tim Cook's Curtain Call: His Last WWDC Keynote and What Changes for Every iOS Developer

Tim Cook delivers his final WWDC keynote on June 8 before handing the CEO role to hardware chief John Ternus on September 1. After 15 years, a $350B-to-$4T run, and a developer ecosystem of 2.3 billion devices, here's what the transition actually means for people who write Swift for a living.

10 min read
Close-up of textured, refractive glass with warm amber-to-cream tones — the real-world material Apple's Liquid Glass design language imitates on screen.
Swift SwiftUI

Liquid Glass for an App You Already Shipped: What You Get From a Recompile vs. Five Lines of Tuning

I rebuilt a real SwiftUI app against the iOS 26 SDK and took two screenshots of the exact same screen — one with zero code changes, one with five lines of glassEffect. Here's the honest split between what the recompile hands you for free and what's worth your custom-tuning time, plus the TDD seam that makes a visual feature testable.

10 min read
A laptop glowing in the dark, casting blue and orange light — reflecting Apple's 'All Systems Glow' WWDC 2026 tagline and the divided developer sentiment
WWDC 2026 iOS 27

Apple Said 'All Systems Glow.' Developers Said 'Not So Fast.'

Apple dropped its WWDC 2026 tagline yesterday and the developer forums immediately caught fire. Half the community is excited for iOS 27's AI overhaul. The other half is already mourning the operating system they used to love. With six days until the keynote, here's what the divide tells us about where Apple is headed.

9 min read
Before/after comparison of an Invoize view model migration to Swift 6.2 — 86 errors on the left collapsing into 3 nonisolated annotations and a fixed race condition on the right.
Swift Swift 6.2

Migrating a Real App to Swift 6.2 Strict Concurrency: 86 Errors, One Afternoon, One Race Condition I Didn't Know I Had

I migrated Invoize from Swift 6.0 strict mode to Swift 6.2 approachable concurrency on a Sunday afternoon. Every warning, every fix, the one real race condition the compiler finally surfaced — and the TDD seams I leaned on so the migration wasn't just compiler-driven guessing.

14 min read
A massive tree with branches spreading in every direction — a visual metaphor for choosing between Swift 6.2 isolation modifiers.
Swift Swift 6.2

@concurrent vs nonisolated vs @MainActor: The Swift 6.2 Decision Tree That Fits on a Napkin

Four real scenarios — UI update, network call, image decode, file IO — and exactly which Swift 6.2 isolation keyword each one needs. A TDD walk-through with Swift Testing, no whiteboard ceremony required.

13 min read
iPhone capturing an AI visualization on a laptop screen — representing Apple's native MCP support turning every iOS app into a tool for AI agents
iOS Development MCP

Apple Is Turning Every App Into an AI Tool — MCP Support Means Siri Was Just the Warm-Up

Apple is building native Model Context Protocol support on top of App Intents. That means Claude, ChatGPT, Gemini, and every other AI agent will be able to control your app — not just Siri. Nine days before WWDC 2026, here's what this means for iOS developers and why your App Intents just became the most important code you've ever written.

10 min read
A glowing 'One Way' street sign at night — a visual metaphor for Swift 6.2 making the main actor the default direction
Swift Swift 6.2

MainActor by Default: Why Apple Just Reversed Swift's Concurrency Story

Xcode 26 flips the default — your code now runs on the main actor unless you say otherwise. Here's why Apple changed direction, what it actually means for your existing project, and a TDD walk-through showing the migration in real Swift.

11 min read
A hand holding a keyring near an open door — representing Apple opening its walled garden to Google's AI models for on-device intelligence
WWDC 2026 iOS 27

Google's AI Is About to Run on Every iPhone. Apple Thinks That's a Feature, Not a Bug.

Apple is training distilled versions of Google's Gemini to run directly on iPhones. For iOS developers, this means your Foundation Models code might soon be powered by Google under the hood — and WWDC 2026 will make it official. Here's what changed, why it matters, and what to build before June 8.

8 min read
Lines of code on a dark screen — the kind of code that's about to get a major AI upgrade when Apple drops its new developer platform at WWDC 2026
WWDC 2026 iOS 27

Apple Registered genai.apple.com. Twelve Days Before WWDC, the Biggest Clue Just Dropped.

Apple quietly registered a GenAI subdomain last week. It's not live yet, but the timing — twelve days before WWDC 2026 — tells us everything about where the iOS developer platform is headed. Core AI, Siri Extensions, Foundation Models, and a public-facing AI hub. Here's what it means for your next project.

9 min read
Heavy traffic congestion on a multi-lane highway at dusk — representing the App Store review queue gridlock caused by vibe coding's 84 percent submission surge in 2026
App Store iOS Development

Your Bug Fix Is Behind 235,800 Vibe-Coded Apps. Welcome to App Review in 2026.

App Store review times ballooned from under 24 hours to multi-week waits after vibe coding drove an 84% surge in submissions. Indie developers with critical bug fixes are stuck behind a flood of AI-generated apps. Here's the data, the developer stories, and what you can actually do about it.

7 min read
Lines of code with colorful syntax highlighting on a dark screen — representing Swift development breaking free from Xcode into AI-powered IDEs like Cursor and Kiro
Swift Cursor IDE

I Wrote Swift in Cursor for a Week. Xcode, We Need to Talk.

Swift officially hit the Open VSX Registry — meaning Cursor, Kiro, and every AI IDE now support Swift with full LSP, debugging, and test explorer. I spent a week building iOS code outside Xcode. Here's what worked, what didn't, and why Apple publishing a Cursor setup guide is the most understated power move of 2026.

8 min read
The glowing Apple logo on an Apple Store glass facade at night — representing Apple's expanding platform for third-party AI integrations through Siri Extensions
Siri iOS 27

Apple Is Building an AI App Store Inside Siri. Most Developers Haven't Noticed Yet.

iOS 27 will turn Siri into a chatbot with third-party Extensions — a dedicated App Store section for AI integrations. This is the biggest new distribution channel since widgets. Here's what indie iOS developers should be building right now.

9 min read
Tangled power lines and wires against a clear sky — a visual metaphor for Swift's growing language complexity and tangled feature set
Swift iOS Development

Swift Has 217 Keywords Now. Nobody Agrees on What It's For.

Swift started as a simple, elegant language that composed beautifully. Twelve years later, it has 217 keywords, a governance problem, and an identity crisis. With WWDC 2026 weeks away, the community is asking: is Apple killing its own programming language?

8 min read
Glowing digital network on dark background — matching the luminous aesthetic of Apple's WWDC 2026 Coming Bright Up invite
WWDC 2026 iOS 27

Apple's WWDC 2026 Invite Says 'Coming Bright Up' — We Decoded Every Pixel

The WWDC 2026 media invites dropped yesterday with a glowing Swift logo and the tagline 'Coming Bright Up.' Here's what Apple is really telling us about Siri 2.0, the Gemini partnership, and what iOS developers should prepare for in the next 20 days.

7 min read
Network cables plugged into a server rack — representing how MCP connects AI tools to developer infrastructure like a universal protocol
MCP Model Context Protocol

Your Xcode Has a Built-In MCP Server. Most iOS Developers Haven't Noticed Yet.

MCP is the protocol that lets AI tools talk to everything — your code, your simulator, your build system. Xcode 26.3 shipped one quietly. There's an official Swift SDK. And WWDC 2026 might make it the backbone of CoreAI. Here's what iOS developers need to know before everyone else figures it out.

9 min read
A close-up of a professional camera lens with warm light reflections — representing the new AI-powered Visual Intelligence pipeline Apple is bringing to iOS developers
WWDC 2026 iOS 27

Visual Intelligence Is the Sleeper Hit of WWDC 2026. Most Developers Don't See It Coming.

Apple is opening Visual Intelligence to third-party developers at WWDC 2026 — nutrition scanning, contact capture, Wallet passes, and a full camera AI pipeline. While everyone argues about Siri, this is the API that will actually change how your app works. Here's what we know and how to prepare.

7 min read
A monitor displaying lines of code in a dark IDE — representing the developer experience of working with Xcode's updated AI coding agent
Xcode AI

Xcode 26.5 Just Made Its AI Agent Less Annoying. Is That Enough?

Xcode 26.5 shipped two small features — message queuing and clarifying questions — that fix the most frustrating parts of agentic coding. Here's what actually changed, why it matters more than it sounds, and whether Apple's AI coding agent is finally ready for your daily workflow.

9 min read
A 'For Rent' sign on a building facade — representing the platform landlord dynamic between Apple's Siri and iOS developers being asked to move in
iOS 27 Siri

Apple Wants You to Move Into Siri's New House. Read the Lease First.

iOS 27 turns Siri into a full chat app with conversation history, document uploads, and deep app integration. Apple is courting developers to build for it — but won't promise it won't charge commission later. Here's why some developers are hesitating, and what you should actually do.

8 min read
Colorful sticky notes pinned to a planning board — the analog version of what your Xcode project needs right now
WWDC 2026 iOS 27

WWDC 2026 Is 26 Days Away. This Is Your iOS Developer Pre-Flight Checklist.

WWDC 2026 lands June 8. SiriKit deprecation, Core AI replacing Core ML, Liquid Glass refinements, foldable iPhone APIs, and strict concurrency in Swift 7. Here's the practical pre-flight checklist to run through your codebase right now — before the keynote makes it urgent.

8 min read
iPhone home screen showing Siri Suggestions with app icons — representing how AI-powered discovery is becoming the primary way users find and launch apps
iOS Development App Intents

App Intents Are the New SEO — and Most iOS Developers Are Still Invisible

Siri is becoming the front door to every iPhone. App Intents are no longer a nice-to-have — they're the difference between discoverable and dead. Here's a practical guide to making your app visible before WWDC 2026 changes the rules.

9 min read
Two developers sitting across from each other in an interview setting — the ritual that no longer matches how iOS apps are actually built in 2026
iOS Development Career

iOS Interviews Are Broken in 2026 — And Everyone Knows It

Companies test you on raw Swift memorization while their production code is 40% AI-generated. The iOS interview process in 2026 is a theater performance nobody believes in anymore. Here's what's actually wrong and what should replace it.

8 min read
Two phones side by side in different operating systems — visual stand-in for Swift code now compiling natively for both iOS and Android.
Swift Swift 6.3

Swift 6.3 on Android, Three Weeks In: What Actually Broke and What Surprised Me

When Apple shipped Swift 6.3 with first-class Android support last month, I bet a Saturday on porting a piece of ThinkBud's sync engine to Android. Three weeks of usage later — here's what stuck, what didn't, and the one bug that taught me more than a year of Swift Concurrency reading.

9 min read
Colorful thread spools organized neatly on shelves — a visual metaphor for Swift's newly organized approach to concurrency
Swift Swift 6.2

Swift 6.2 Finally Made Concurrency Approachable — Someone Already Built a Parody Site

Swift 6.2 ships @MainActor by default, the new @concurrent attribute, and a complete rethink of strict concurrency. We break down what changed, show real migration code, and explain why the community is both celebrating and arguing.

9 min read
Two monitors displaying code side by side — representing the Claude Code vs Cursor developer tool comparison
Claude Code Cursor

Claude Code vs Cursor: I Used Both for a Month. One Tried to Charge $1,400.

Cursor is the sous chef who hands you the knife before you ask. Claude Code is the contractor who remodels your kitchen overnight. We tested both on real iOS projects and here's when each one wins — plus how to avoid that terrifying billing surprise.

10 min read
The Swift programming language logo displayed on an Android smartphone — representing Apple's official Swift SDK for Android
Swift Android

Swift 6.3 Now Officially Runs on Android. I Tried It. Here's What Actually Works.

Apple shipped an official Swift SDK for Android with Swift 6.3. Not a hack, not a community port — the real thing. We tested it on a real project and here's every win, every friction point, and the honest verdict on whether iOS developers should care.

9 min read
Monitor displaying code in a dark development environment — representing the late-night Xcode 26 migration sessions developers are pulling before Apple's SDK deadline
iOS Development Xcode 26

Apple's iOS 26 SDK Deadline Hits Tomorrow. Half the App Store Isn't Ready.

April 28, 2026 — every app submitted to the App Store must be built with Xcode 26 and the iOS 26 SDK. If you haven't updated yet, your next submission gets rejected. Here's what's breaking, what you need to fix, and why this deadline is different.

10 min read
Close-up of colorful programming code on a dark screen representing intensive AI-powered code refactoring session
AI Claude

We Gave Claude Mythos Full Access to Our Codebase. It Shipped Three Features Before Lunch.

After a week of security testing, we let Anthropic's most restricted AI model loose on real development work. It refactored our state management, found a memory leak we'd chased for months, and rewrote our networking layer across four apps. Week two was a different beast.

8 min read
Apple WWDC 2026 official event branding — the developer conference bringing foldable iPhone APIs, Core AI framework, and major platform changes
WWDC 2026 iOS 27

Apple Is Shipping Foldable iPhone APIs Before the Foldable iPhone. That's Either Genius or Chaos.

WWDC 2026 drops June 8. Apple is giving developers fold-state detection, Core AI replacing Core ML, macOS touch APIs, and a Siri that lives in the Dynamic Island. Here's what you need to know and what we're already building.

9 min read
Close-up of an Apple silicon chip highlighting the Neural Engine that powers on-device AI in iPhones and iPads
Foundation Models Apple Intelligence

Apple Put a 3-Billion Parameter Brain Inside Every iPhone. Most Developers Haven't Even Noticed.

Apple's Foundation Models framework lets you run AI on-device with 3 lines of Swift. No API keys. No cloud bills. No privacy headaches. Here's why iOS developers should stop ignoring the smartest thing Apple shipped in years.

11 min read
Apple WWDC 2026 event branding — the annual developer conference where Apple is expected to open Siri to third-party AI chatbots
WWDC 2026 iOS 27

Apple Stopped Pretending It Could Build AI Alone. That's the Best WWDC News in Years.

WWDC 2026 is two months away. Apple is opening Siri to Claude, Gemini, and Grok. Xcode already has agentic coding. iOS 27 is a stability year. Here's what iOS developers actually need to care about.

8 min read