Building a Plant Identifier with Foundation Models

You’ll learn how to:

🌱 Send images to Foundation Models using attachments
🌱 Identify plants using structured generation with @Generable
🌱 Stream partially generated responses
🌱 Maintain conversation context with LanguageModelSession
🌱 Ask follow-up questions without repeatedly sending the image
🌱 Build a swipeable plant interface with SwiftUI
🌱 Display loading and response states in the UI

This is a practical example of how image understanding in Foundation Models can be used to build intelligent, context-aware iOS apps.

In partnership with
Fastlane alternative – CLI tools

Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning.

View on GitHub
© 2026 Mobile Signal. All rights reserved.
Made by
Stan
linkedin