All posts

Posts tagged with: Foundation Models

10 posts found

An organized box of wrenches and hand tools, each one distinct but sharing the same case — a Swift toolbox metaphor
Foundation Models Swift

Apple Just Open-Sourced the 'Skills API' Everyone Assumed Was a Claude Thing

Apple's new foundation-models-utilities package brings a Skills API, history compaction, and a chat-completions bridge to Swift's Foundation Models framework. Here's what's actually in the box, and how it maps onto BrewLog.

7 min read
A compact multi-port GAN charging adapter — one small brick, several different outputs, which is exactly the pitch behind a library that puts several AI backends behind one Swift interface.
Swift SwiftUI

I Tried the Library That Puts Foundation Models, OpenAI, and MLX Behind One Swift API

SwiftAI is a new open-source Swift package that wraps Apple's on-device Foundation Models, OpenAI, and MLX behind one interface — reply(to:), @Generable structs, streaming, tool calls. I actually installed it, ran real on-device inference, and hit a documentation bug and a guardrail glitch within ten minutes. Here's what works, what doesn't, and whether it's worth adopting today.

8 min read
A welcome doormat by a front door — the world's most obvious hiding spot, and a fair metaphor for the API key baked straight into an app's network traffic.
iOS Development Security

Two-Thirds of AI iPhone Apps Hid the Key Under the Doormat

A Wake Forest study ran 444 AI-powered iOS apps through traffic analysis and found 282 of them leaking their own LLM API keys — OpenAI, Anthropic, cloud creds, the works. Stolen keys fuel 'LLMjacking' that can burn $46,000 a day on someone else's bill. Here's why it keeps happening and how to ship AI features with zero secrets in your bundle.

8 min read
A workbench with tools organized and ready to use — the State of the Union is where Apple lays out the real developer toolkit (Photo: AJ Yorio, Unsplash)
WWDC 2026 iOS 27

The Keynote Made You Cry. The State of the Union Gave You Homework. Five Things That Actually Change Your iOS Workflow.

WWDC 2026 State of the Union broke open the developer toolbox: free Private Cloud Compute for indie devs, Foundation Models going open source, Xcode 27's Device Hub killing Simulator, agentic coding with Claude and Gemini inside your IDE, and SwiftUI finally caching images like it should have from day one.

10 min read
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 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 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
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