iOS 27 Foundation Models: plug in Claude or Gemini with a 1-line swap (2026)
Apple's Foundation Models framework runs a ~3B on-device model in iOS 27. Here is the Swift protocol pattern that lets you swap to Claude or Gemini with a single line of code.