Tag
#swift
Fatal Error: Array Bounds in AI Swift Code: 4 Families
Fix the Index-out-of-range crashes AI writes in Swift: parallel-array assumptions, force-indexing, stale ForEach indices, and the brief that prevents all four.
Indie Vibe Makers: Expo vs Native Swift in 2026
The solo-builder decision between Expo and native Swift: where each wins now that agents write both, and the four questions that actually decide it.
CoreBluetooth Swift Templates for Vibe Coding: BLE Done Right
Why AI-generated CoreBluetooth fails and the template that fixes it: a connection state machine, contract-first prompts, buffered data, and real-hardware debugging.
The Best .cursorrules File for Pure Swift Mobile Apps
A good Cursor rules file stops it guessing and pins pure SwiftUI, Swift concurrency, and Apple conventions. Here is a complete example you can copy.
How to Connect an API to an AI-Built iOS App
Connecting an API is where AI-built apps break: the data display and the API key. Here is how to do it with URLSession, Codable, and a VP0 design as the target.