This is wild: edit and run Swift code in the browser. MiniSwift supports SwiftUI and even Metal shaders. Did I mention the browser-based IDE?
miniswift.run
Come to the AiOS meetup today to learn how to use Gemini in Apple's Foundation Model framework via @Firebase AI Logic!
Show me an app you've built with this new integration, and win some rare Firebase swag!
You can now use Gemini via Apple's Foundation Model framework.
This means:
- same calls for on-device and cloud-hosted inference
- you can use Grounding with Google Search / Google Maps
- access to Gemini's large context window (up to 1M tokens)
Gemini models are now accessible to millions of Apple developers through Apple’s Foundation Models framework and natively within Xcode. You can now easily swap between local and cloud inference using a shared API surface to build next-generation agentic app experiences, increase development velocity, and offload heavy workloads to the cloud. Additionally, you can use agentic coding assistance from Gemini in Xcode to accelerate multi-step development tasks.
Check out the full announcement to get started: goo.gle/3Q1YDnD
Swift devs: if you’re interested in using Gemini in Apple’s Foundation Model API, come see our special guest @peterfriese (Google) and his team of engineers at the AiOS meetup in Cupertino this Thursday.
Besides Peter we have @awnihannun (co-creator MLX and now at Anthropic) for a special talk as well