Exploring AI for iOS Development
From Apple Intelligence to on-device models using MLX Swift, there is everything that you need to know about working with AI on Apple Platforms.
Overview
This book is currently available for pre-order. There is one update every day. Final release is anticipated before WWDC 2025. You will also receive free incremental updates after WWDC 2025.
Use the code "STUDENT" for a discount if the cost of the book is a concern for you.
This book is a practical guide for iOS, macOS, and visionOS developers looking to integrate AI models directly into their applications using Apple's MLX Swift framework (and other frameworks soon)
In this book, you will learn how to build on-device AI apps for Apple platforms:
- Introduction to MLX: Understanding the fundamentals of the MLX framework and its role in the Apple world
- Understanding AI Model Components: Exploring the components that make up a AI model.
- Loading Models with MLX Swift: Learning how to load various model architectures using MLX Swift.
- Getting Started with MLX Swift: Setting up your development environment and executing your first MLX Swift code.
- Working with Pre-Trained Models: Utilizing existing open-weights models for different tasks.
- Model Quantization: Applying techniques to make large AI models smaller and faster, optimizing them for on-device performance.
- Text Embeddings with MLX Embedders: Using text embedding models to understand the semantic meaning of text for tasks such as search and comparison, with MLX Embedders
- Customizing Generation Parameters: Fine-tuning parameters like temperature and top-k to control the output of generative models.
- Vision-Language Models: Integrating models capable of understanding and describing image content.
- MLX Swift Tools: Exploring utilities designed to assist with development in MLX Swift.
- Tool Use with Models: Enabling language models to interact with external tools and APIs.
Let us explore the possibilities of on-device AI together!