M-Swift Ship better iOS apps with Swift

M-Swift

Ship better iOS apps with Swift

Latest Articles

AI & Performance

Your App's First 400ms Are a Crime Scene: Triage Launch Time Before You Refactor

Inherited a large Swift codebase where launch feels slow, but nobody wants to gamble on a rewrite? Start with measurement. This is a practical triage plan for pre-main cost, dynamic linking, Swift runtime setup, and eager work that can move behind the first frame.

Simulator Says Yes, iPhone Says Yikes: Seven Device-Only Swift Performance Tests
Testing & Tooling

Simulator Says Yes, iPhone Says Yikes: Seven Device-Only Swift Performance Tests

Your Mac is not an iPhone, and the Simulator knows it. These seven lightweight tests expose the memory, thermal, camera, networking, background, GPU, and sensor behavior that only shows up on real hardware, plus what to record so your team argues with evidence instead of vibes.

Feature Flags Without the Baggage: A Swift-Native Rollout Layer
Swift Architecture

Feature Flags Without the Baggage: A Swift-Native Rollout Layer

Feature flags should reduce release risk, not become permanent tech debt. Here is a minimal, dependency-free Swift architecture for gradual rollouts, kill switches, and remote overrides—plus the testing and cleanup guardrails that keep it honest.

Ten SwiftUI Accessibility Checks You Can Run Before Lunch
Testing & Tooling

Ten SwiftUI Accessibility Checks You Can Run Before Lunch

Accessibility bugs rarely fail the build. They fail real people—and sometimes show up in legal complaints. Here are ten SwiftUI checks any iOS engineer can run in an afternoon with Xcode, a simulator, and zero extra SDKs.

I Migrated 50K Lines From XCTest to Swift Testing: The Wins, the Scars, and the Call I’d Make Today
Testing & Tooling

I Migrated 50K Lines From XCTest to Swift Testing: The Wins, the Scars, and the Call I’d Make Today

A first-hand account of moving a large production iOS codebase from XCTest to Swift Testing, including the parts that got faster, the parts that broke, and the hybrid setup I’d recommend to most US teams in 2026.

Your Deep Link Works Until It Doesn’t: Seven SwiftUI Navigation Patterns to Audit Now
Swift Architecture

Your Deep Link Works Until It Doesn’t: Seven SwiftUI Navigation Patterns to Audit Now

Deep links rarely fail in the happy path. They fail after a user signs in, switches tabs, or returns from a sheet—and SwiftUI’s navigation stack is often the culprit. Here are seven screen patterns worth auditing in 2026, with fixes you can ship.

Plain Structs, Clear Code: The Case Against Clever Swift Architecture
Swift Architecture

Plain Structs, Clear Code: The Case Against Clever Swift Architecture

Every Swift codebase has a moment where a simple feature needs a map to trace. This opinion piece argues for fewer protocols, lighter dependency injection, and plain structs that make the next engineer's Tuesday easier.

Where Did the Sprint Go? A One-Week Build-Time Audit for Swift Teams
AI & Performance

Where Did the Sprint Go? A One-Week Build-Time Audit for Swift Teams

Build times are a tax on every sprint, and most Swift teams pay it without checking the bill. This one-week audit shows how to measure Xcode and Swift Package Manager builds, find the seven usual suspects, and fix the ones that actually move the needle.

Paying for Smarts: The Hidden Cost of On-Device AI in Your Next Swift Release
AI & Performance

Paying for Smarts: The Hidden Cost of On-Device AI in Your Next Swift Release

On-device AI is not free. It shows up in app size, memory pressure, launch time, thermal behavior, and engineering velocity. Here is how to measure the tax before your Swift app pays it in production.

From Compiler Warnings to Calm Waters: A 2026 Swift 6 Concurrency Migration That Won't Stomp Feature Work
Swift Concurrency

From Compiler Warnings to Calm Waters: A 2026 Swift 6 Concurrency Migration That Won't Stomp Feature Work

Swift 6 strict concurrency is not a weekend cleanup, and US iOS teams cannot pause shipping to chase every warning. This is a practical, incremental playbook for moving a mature UIKit-and-SwiftUI app toward strict checking without freezing the roadmap.