Leanpub Header

Skip to main content

The Complete Swift AI Architect Masterclass (Vol 1-10)

These books have a total suggested price of $219.90. Get them now for only $79.00!
About

About

About the Bundle

Future-proof your Apple development career and master the AI revolution on iOS, macOS, and visionOS.

Artificial Intelligence is fundamentally reshaping the Apple ecosystem. With the introduction of Apple Intelligence, the breakthrough MLX framework for Apple Silicon, and the evolution of Core ML, modern Swift developers need an entirely new set of skills.

Whether you want to run powerful LLMs completely on-device, connect to cloud-based agents, or design reactive interfaces for streaming AI predictions, The Complete Swift AI Architect Masterclass is your ultimate roadmap.

This exclusive 10-volume bundle takes you from the foundational concepts of machine learning in Swift all the way to advanced architectural patterns and App Store deployment in more than 3000 pages.

📚 What's Inside the Bundle?

Volume 1: Core ML & Vision Framework Bring computer vision to your apps. Master on-device image classification, object detection, and seamless integration of custom machine learning models.

Volume 2: Apple Intelligence & Foundation Models Tap into Apple’s native AI capabilities. Learn to build apps leveraging Apple's on-device LLM APIs, Writing Tools, and the core Apple Intelligence framework.

Volume 3: Natural Language & Speech Give your apps a voice and a brain. Implement NLP, sentiment analysis, custom text classification, and robust Speech-to-Text using native Apple frameworks.

Volume 4: SwiftUI for AI Apps Bridge the gap between AI and UX. Build reactive, intelligent user interfaces that seamlessly respond to model outputs, stream text tokens, and visualize AI predictions in real-time.

Volume 5: Create ML Studio Train machine learning models without writing a single line of Python. Master custom tabular, image, sound, and motion classifiers using Apple’s native Create ML suite.

Volume 6: MLX Swift & Local LLMs Unlock the raw power of Apple Silicon! Dive deep into Apple's MLX framework to build custom inference engines, fine-tune local models (LoRA), and leverage Unified Memory directly from Swift.

Volume 7: visionOS & Spatial AI with Swift Step into the future of computing. Learn how to blend artificial intelligence with spatial computing to create mind-blowing, context-aware experiences for Apple Vision Pro.

Volume 8: Swift + OpenAI & LangChain Connect to the cloud. Integrate cutting-edge external LLM APIs, build Retrieval-Augmented Generation (RAG) pipelines, and orchestrate complex autonomous agent workflows within your Apple apps.

Volume 9: CoreData, CloudKit & Vector Search Modernize your data layers. Learn how to store embeddings, synchronize data across devices, and implement lightning-fast semantic vector search directly in your apps.

Volume 10: Shipping AI Apps to the App Store Cross the finish line. Navigate the specific App Store guidelines for AI applications, optimize your app's footprint, manage privacy requirements, and successfully launch your product to millions of users.

🎯 Who Is This Bundle For?

  • iOS & macOS Developers who want to upgrade their skill set and integrate Generative AI into their existing applications.
  • Software Architects looking for best practices in balancing on-device inference (Edge AI) with cloud-based LLM solutions.
  • Indie Hackers & Entrepreneurs who want to build and ship the next generation of smart, AI-driven applications on the App Store.

💡 Why Buy the Bundle?

By purchasing this masterclass bundle, you get all 10 volumes at a heavily discounted price compared to buying them individually. You will gain a complete, holistic understanding of the modern AI tech stack tailored specifically for the Apple ecosystem.

Don't just keep up with the AI revolution—lead it. Grab the bundle today and start building the future of Apple apps!

Books

About the Books

Core ML & Vision Framework with Swift.

Core ML & Vision Framework with Swift.

On-device image classification, object detection, and custom model integration with Core ML and Vision.

Unlock the Power of On-Device AI with Swift 6 and Core ML

Stop relying on the cloud and start building intelligent, private, and lightning-fast apps.

In Core ML & Vision Framework - Volume 1, expert developer Edgar Milvus provides a comprehensive deep dive into Apple's machine learning ecosystem. This isn't just a collection of snippets; it's a professional-grade roadmap to mastering on-device visual intelligence using the latest Swift 6 features.

From real-time face detection to high-performance document scanning, this volume covers the essential skills needed to build modern, AI-driven applications for iOS and macOS. Whether you are a seasoned developer or an aspiring engineer, you will learn the "why" behind Apple’s design choices and the "how" of professional implementation.

What’s inside Volume 1:
  • The Full ML Stack: Master the journey from .mlpackage to on-device prediction.
  • Vision Pipelines: Orchestrate complex image analysis with VNImageRequestHandler and Swift Concurrency.
  • Real-Time Performance: Build camera pipelines with AVFoundation optimized for 60fps.
  • Modern Swift Architecture: Implement MVVM and @Observable patterns for reactive AI results.
  • Model Optimization: Use coremltools for quantization and learn how to leverage the Neural Engine, GPU, and CPU.
  • Security & Encryption: Protect your intellectual property with model encryption and secure distribution.
Hands-On Learning

Each chapter features theoretical foundations, basic code examples, and advanced real-world applications. Put your skills to the test with practical exercises and detailed solutions designed to simulate professional development challenges.

Embrace the future of privacy-first, high-performance AI. Master Core ML and Vision today!

Apple Intelligence & Foundation Models. Building apps with Apple's on-device LLM APIs, Writing Tools, and the Apple Intelligence framework

Apple Intelligence & Foundation Models. Building apps with Apple's on-device LLM APIs, Writing Tools, and the Apple Intelligence framework

Apple Intelligence & Foundation Models: The Swift 6 AI Masterclass

Unlock the full potential of Apple’s generative AI revolution and build context-aware, privacy-first applications with Swift 6.

The AI revolution has arrived on the Apple ecosystem. With iOS 18 and macOS 15, the way we design and build applications has changed forever. Apple Intelligence & Foundation Models is your definitive guide to mastering this new landscape, moving beyond simple API calls to architecting deep system integrations.

This volume provides a high-level technical deep dive into Apple Intelligence, focusing on the synergy between on-device Large Language Models (LLMs) and Private Cloud Compute (PCC). Whether you are building a smart document editor, a proactive personal assistant, or an intelligent utility app, this book provides the architectural patterns and production-quality code you need.

What You Will Master:
  • The Hybrid Compute Model: Understand the orchestration between on-device Neural Engine processing and the cryptographically secured Private Cloud Compute.
  • Writing Tools API: Integrate system-level "Smart Rewrite," summarization, and proofreading directly into SwiftUI TextEditor and UIKit UITextView.
  • App Intents & Siri Discovery: Learn to define App Intent Domains and parameterized intents with dynamic options, making your app’s AI actions discoverable across the entire OS.
  • On-Screen Awareness: Develop apps that understand what the user is seeing and propose intelligent in-app actions via secure entitlements.
  • Swift 6 Concurrency & Actors: Master the use of Actors, Sendable types, and structured concurrency to handle resource-heavy AI inferences without ever blocking the UI.
  • Privacy by Design: Navigate the "Privacy First" philosophy of Apple, ensuring data minimization and total user transparency.
  • App Store Review Guidelines: Learn the specific ethical and technical standards required to get your Apple Intelligence app approved.
Inside the Book:
  • Theoretical Foundations: Deep dives into why Apple designed these frameworks the way they did.
  • Basic Code Examples: Clear, concise snippets to get you started with Writing Tools and App Intents.
  • Advanced Applications: Production-ready components (like a Smart Meeting Note Processor) that show real-world integration logic.
  • Practical Exercises & Instructor Analysis: Hands-on challenges to test your knowledge, followed by detailed architectural breakdowns.
Target Audience

This volume is an Intermediate to Advanced guide. It is perfect for iOS and macOS developers, software architects, and technical leads who want to master the cutting edge of the Apple SDKs.

Step into the future of intelligent development. Build apps that don't just process data—apps that understand intent.

Note: This book requires Xcode 16 and focuses on iOS 18, macOS 15, and Swift 6.

Natural Language & Speech. NLP, sentiment analysis, text classification, and Speech-to-Text with Apple's Natural Language and Speech frameworks.

Natural Language & Speech. NLP, sentiment analysis, text classification, and Speech-to-Text with Apple's Natural Language and Speech frameworks.

Unlock the Power of Natural Language and Speech in Swift 6

How do apps like Siri or advanced note-takers understand what users say and write? Swift & AI Masterclass Volume 3 takes you behind the scenes of Apple's powerful Natural Language and Speech frameworks. Learn to build intelligent, privacy-first applications that process human communication on-device without relying on the cloud.

In this comprehensive guide, you will master the art of transforming raw audio and text into actionable intelligence. From real-time transcription to custom text classification, this book provides a step-by-step roadmap for integrating cutting-edge AI into your iOS and macOS apps using Swift 6.

Key Topics Covered:
  • Real-Time Transcription: Master SFSpeechRecognizer and AVAudioEngine for live audio processing.
  • Natural Language Processing: Perform tokenization, POS tagging, and Named Entity Recognition.
  • Sentiment Analysis: Detect emotional tone using built-in tools and custom Core ML models.
  • Semantic Search: Use NLEmbedding and vector math to find content by meaning, not just keywords.
  • Custom AI Models: Train your own classifiers with Create ML and deploy them using NLModel.
  • Swift 6 Concurrency: Harness Actors, async/await, and Sendable for safe, non-blocking AI pipelines.
  • SwiftData Integration: Build intelligent data models to persist AI insights.
Why This Book?

Written for professional developers, this volume goes beyond simple tutorials. It explains Apple’s design philosophy, explores Advanced Applications like smart meeting assistants and document scanners, and provides Practical Exercises with full solutions to solidify your expertise.

Join the AI revolution on Apple Platforms. Grab your copy and start building smarter apps today!

SwiftUI for AI Apps. Building reactive, intelligent interfaces that respond to model outputs, stream tokens, and visualize AI predictions in real time

SwiftUI for AI Apps. Building reactive, intelligent interfaces that respond to model outputs, stream tokens, and visualize AI predictions in real time

Elevate Your AI Apps with Reactive SwiftUI Interfaces

Stop building static interfaces for dynamic AI. As Large Language Models and on-device Vision models become standard, developers face a new challenge: how to handle asynchronous, streaming, and often unpredictable data without compromising user experience.

In SwiftUI for AI Apps (Volume 4), author Edgar Milvus provides a comprehensive guide to building intelligent interfaces using the cutting-edge features of Swift 6 and SwiftUI. This is not just a book about UI; it's a deep dive into the architecture of modern, AI-driven Apple applications.

What’s Inside:

  • Real-Time Token Streaming: Learn to use AsyncSequence and URLSession to display AI responses as they are generated, token by token.
  • Advanced Concurrency: Master Actors and Sendable types to offload heavy AI inference (Core ML) from the main thread safely.
  • Modern State Management: Use the new @Observable macro to create ultra-performant, reactive views.
  • Intelligence Visualization: Build animated waveforms, confidence meters, and dynamic bounding box overlays using Canvas and GeometryReader.
  • Persistent Context: Integrate SwiftData to give your AI assistants long-term memory.
  • Professional UX: Implement robust error handling, intelligent auto-scrolling, and inclusive accessibility for AI-generated content.

Structured for Mastery

Each chapter follows a proven pedagogical path: Theoretical Foundations to understand the logic, Basic Code Examples to get started, and Advanced Applications (like Smart Document Scanners and AI Chat Assistants) to see production-quality code in action. Complete with practical exercises and full solutions.

Perfect for developers building with OpenAI, Anthropic, or local Core ML models. Build the next generation of intelligent apps today.

Table of contents

Chapter 1: @Observable and AI — Driving UI from Model Predictions

Chapter 2: Streaming Token Output with AsyncSequence in SwiftUI

Chapter 3: @Bindable for Mutable AI Configuration in Child Views

Chapter 4: @Environment for Sharing AI Clients Across the View Hierarchy

Chapter 5: Animating Confidence Scores and Probability Distributions

Chapter 6: Building a Token Stream View with ScrollViewReader

Chapter 7: Bounding Box Overlays with GeometryReader and Canvas

Chapter 8: A Reusable Confidence Bar Component with Animations

Chapter 9: Camera Preview Views with UIViewRepresentable

Chapter 10: Waveform Visualization for Real-Time Audio AI

Chapter 11: Managing Long-Running AI Tasks with Swift 6 Actors

Chapter 12: Cancellation and Task Groups for Parallel Inference

Chapter 13: Navigation Patterns for Multi-Step AI Workflows

Chapter 14: Error Handling and User Feedback for Failed Inference

Chapter 15: Background Processing with BackgroundTasks Framework

Chapter 16: Designing the Chat Data Model with Sendable Types

Chapter 17: Streaming Tokens from an API with URLSession and AsyncBytes

Chapter 18: Building the Chat Bubble UI with SwiftUI

Chapter 19: Persisting Conversations with SwiftData

Chapter 20: Keyboard Avoidance, Accessibility, and Polish

If printed, this ebook would span over 500 pages. Each chapter is structured into theoretical foundations, an annotated basic example, an annotated advanced example, and five coding exercises based on real-world scenarios with complete solutions.

Create ML Studio. Training custom models without Python: tabular, image, sound, and motion classifiers using Create ML in Swift.

Create ML Studio. Training custom models without Python: tabular, image, sound, and motion classifiers using Create ML in Swift.

Unlock the power of custom Machine Learning on Apple platforms without writing a single line of Python.

In Volume 5 of the Swift & AI Masterclass, developer and author Edgar Milvus dives deep into Create ML Studio, empowering you to train, evaluate, and deploy bespoke AI models using the language you love: Swift.

While the AI world often feels dominated by Python-centric tools, Apple has built a world-class framework that allows Swift developers to handle the entire ML lifecycle—from raw data ingestion to production deployment—within the Apple ecosystem. This book is your definitive guide to mastering that workflow.

Inside this volume, you will find:

  • Comprehensive Classifier Training: Step-by-step guides to building custom Image, Sound, Text, and Motion classifiers tailored to your app's specific needs.
  • Modern Swift 6 Integration: Learn how to orchestrate resource-intensive training tasks using async/await, Actors, and the @Observable macro for a responsive and thread-safe experience.
  • Advanced Feature Engineering: Master MLDataTable to clean, transform, and enrich your data, ensuring your models learn from the highest quality inputs.
  • Model Quality & Performance: Techniques for data augmentation, hyperparameter tuning, and k-fold cross-validation to build robust models that generalize to the real world.
  • Professional MLOps: Expert strategies for model versioning, signing .mlpackage files, and setting up CI/CD pipelines for automated model updates.
  • Real-World SwiftUI Integration: Practical examples of bringing your custom models to life in interactive applications.

Whether you are building a plant identifier, a real-time gesture recognizer for accessibility, or a personalized recommendation engine, this book provides the theoretical foundations and the production-ready code you need.

Stop relying on generic models and start building custom intelligence. Master Create ML with Swift today!

MLX Swift & Local LLMs. Deep dive into Apple's MLX framework for high-performance machine learning.

MLX Swift & Local LLMs. Deep dive into Apple's MLX framework for high-performance machine learning.

Building custom inference engines, fine-tuning local models (LoRA), and leveraging Unified Memory directly from Swift.

Unlock the full power of Apple Silicon with the definitive guide to MLX Swift and Local LLMs.

The future of Artificial Intelligence is local. In Volume 6 of the Swift & AI Masterclass, author Edgar Milvus takes you deep into the architecture of Apple's MLX framework, a high-performance array library designed for the "Metal-to-Model" experience. This isn't just about calling APIs; it's about building custom inference engines and fine-tuning models directly on your Mac, iPhone, and iPad.

What’s inside this volume:

  • Unified Memory Mastery: Learn to exploit zero-copy data sharing between CPU and GPU for lightning-fast tensor operations.
  • Local LLM Deployment: Step-by-step guides on porting HuggingFace weights and running models like Llama and Mistral natively in Swift.
  • Parameter-Efficient Fine-Tuning (LoRA): Teach your models new tricks using user-specific data without the cost of full retraining.
  • Quantization & Performance: Master 4-bit and 8-bit quantization to run multi-billion parameter models on mobile devices.
  • Streaming & Agentic Loops: Build responsive SwiftUI chat interfaces and autonomous agents that can call Swift functions as tools.

Bridging the gap between Python-based research and Swift-based production, this book provides the theoretical foundations and the production-ready code needed to build the next generation of privacy-centric, offline-first AI applications. Whether you are an experienced iOS developer or a Machine Learning engineer, this masterclass is your roadmap to AI excellence on Apple platforms.

Note: This book requires a Mac with Apple Silicon for the code examples.

Table of contents

Chapter 1: Intro to MLX — Apple’s Array Framework for Swift

Chapter 2: MLX Swift vs. Core ML — When to Use Which

Chapter 3: Unified Memory Architecture and Tensor Operations

Chapter 4: Building Neural Networks with MLX NN in Swift

Chapter 5: Optimization Techniques with MLX Optimizers

Chapter 6: Porting Weights — Converting HuggingFace Models to MLX

Chapter 7: Implementing Transformer Architectures in MLX Swift

Chapter 8: Quantization (4-bit/8-bit) for On-Device LLMs

Chapter 9: Streaming Token Inference with MLX Swift

Chapter 10: Performance Profiling MLX vs. llama.cpp

Chapter 11: Local Fine-Tuning with LoRA and QLoRA in Swift

Chapter 12: Memory Management for Large Models on Mac

Chapter 13: Building Agentic Loops with MLX-powered LLMs

Chapter 14: Tool Calling and Function Injection with MLX

Chapter 15: Deploying MLX Swift to macOS and iOS (The Future)

Chapter 16: Designing the MLX-based Model Service Actor

Chapter 17: Real-time UI with SwiftUI and Token Streaming

Chapter 18: Implementing Local Memory with MLX Embeddings

Chapter 19: Hardware Monitoring (GPU/NPU usage) in-app

Chapter 20: Optimization, Sandboxing, and Distribution

If printed, this ebook would span over 600 pages. Each chapter is structured into theoretical foundations, an annotated basic example, an annotated advanced example, and five coding exercises based on real-world scenarios with complete solutions.

visionOS & Spatial AI with Swift

visionOS & Spatial AI with Swift

Unlock the full potential of Spatial Computing with the definitive guide to Swift and AI on visionOS.

The Apple Vision Pro has redefined the relationship between humans and machines. But to build truly professional applications, developers must move beyond basic 2D windows and enter the realm of Spatial Intelligence. This book is your masterclass in architecting the next generation of immersive experiences.

Inside, you will find a rigorous exploration of how Swift 6 and Core ML converge to create apps that see, understand, and remember the user's environment. From the theoretical math of 3D transforms to the practical implementation of Actor-isolated AI pipelines, this volume provides the blueprint for high-performance spatial engineering.

What’s Inside:

  • Swift 6 Concurrency: Master Actors, Sendable, and AsyncStreams to handle high-frequency sensor data safely.
  • Real-Time Perception: Implement hand tracking, eye-gaze intent, and 3D pose estimation.
  • Scene Understanding: Leverage LiDAR and RoomPlan to build semantic digital twins of any room.
  • Persistent AR: Use WorldAnchors to lock AI-detected objects in physical space indefinitely.
  • RealityKit ECS: Design data-driven 3D scenes that react instantly to AI inferences.
  • SharePlay Collaboration: Synchronize spatial AI states across multiple users in real-time.

Whether you are building an industrial maintenance tool, a medical assistant, or an advanced creative suite, this book provides the Advanced Applications and Practical Exercises you need to succeed in the visionOS App Store.

Stop building for screens. Start building for reality.

Swift + OpenAI & LangChain

Swift + OpenAI & LangChain

Integrating external LLM APIs, RAG pipelines, and agentic workflows in iOS and macOS apps

Master AI Integration on Apple Platforms with Swift 6, OpenAI, and LangChain!

The next generation of iOS and macOS apps won't just follow instructions—they will reason, act, and learn. Are you ready to build them? Volume 8 of the Swift & AI Masterclass is the definitive guide to integrating external LLMs into production-grade Apple applications.

This isn't just a book about API calls. It’s an architectural deep dive into building AI Agents and RAG (Retrieval-Augmented Generation) pipelines that are fast, safe, and cost-effective. Learn how to transform raw PDFs into searchable high-dimensional vectors, manage long-running "Reasoning Loops" with the ReAct pattern, and handle streaming tokens in real-time without freezing your UI.

What’s Inside:
  • Swift 6 & Strict Concurrency: Use Actors and Sendable protocols to prevent data races in complex AI workflows.
  • Streaming & SSE: Implementation of real-time, typewriter-style responses using AsyncSequence and URLSession.bytes.
  • Semantic Search & Embeddings: Leverage Apple’s Accelerate framework for hardware-accelerated vector math (Cosine Similarity).
  • Function Calling & Tools: Teach GPT-4o and Claude 3.5 how to use your Swift code to perform real-world actions.
  • Offline Support with SwiftData: Cache embeddings locally to provide intelligent features even without an internet connection.
  • Memory Management: Master sliding windows and recursive summarization to stay within token limits and save costs.

Whether you are building a professional research assistant, a smart journaling app, or an autonomous task manager, this book provides the Theory, Basic Examples, and Advanced Applications needed to ship world-class AI features.

Bridge the gap between probabilistic AI and deterministic Swift code!

CoreData, CloudKit & Vector Search

CoreData, CloudKit & Vector Search

Unlock the Power of Persistent AI Memory on Apple Platforms!

In the age of Generative AI, an application is only as smart as what it can remember. Volume 9 of the Swift & AI Masterclass series is the definitive guide to building a "Second Brain" for your apps, focusing on the sophisticated integration of SwiftData, Core Data, CloudKit, and Vector Search.

This volume isn't just about storing text—it's about managing Semantic Intelligence. You will learn how to transform raw user data into high-dimensional vector embeddings and persist them in a way that is lightning-fast, thread-safe, and synchronized across the entire Apple ecosystem.

What’s inside:

  • SwiftData & Swift 6: Master the new declarative persistence paradigm and use ModelActor to handle heavy AI workloads without freezing the UI.
  • On-Device Vector Search: Implement hardware-accelerated Cosine Similarity and Dot Product math using the Accelerate framework.
  • HNSW Graph Implementation: Build advanced Hierarchical Navigable Small World indices to search through millions of embeddings in logarithmic time.
  • CloudKit Synchronization: Learn the secrets of syncing AI context and semantic memory across iPhone, iPad, and Mac using NSPersistentCloudKitContainer.
  • Hybrid Search: Synthesize Full-Text Search (FTS) and Semantic Search to provide users with the most accurate results possible.
  • Privacy & GDPR: Architect your data layer to respect user sovereignty, ensuring sensitive AI data is handled with "Privacy by Design."

Whether you are building a personal knowledge assistant, a smart research tool, or an AI-driven journaling app, this book provides the architectural blueprints you need to scale from a local prototype to a production-grade distributed system.

Master the art of persistent intelligence. Build apps that remember, understand, and sync.

Shipping AI Apps to the App Store with Swift

Shipping AI Apps to the App Store with Swift

Master the "Last Mile" of AI Development on Apple Platforms

Building an AI model is just the beginning. Shipping a performance-optimized, privacy-compliant, and profitable AI app to the App Store is where the real engineering starts. Volume 10 of the Swift & AI Masterclass is your definitive guide to professional AI deployment.

In this volume, author Edgar Milvus bridges the gap between theoretical AI and production-ready software. You will learn how to manage the unique challenges of generative AI, from preventing device overheating to satisfying Apple’s strict App Review guidelines.

Key Features of this Volume:
  • Performance Engineering: Deep dive into Instruments to profile the Apple Neural Engine (ANE) and manage memory-intensive models without triggering Jetsam kills.
  • Thermal-Aware AI: Learn to build "Adaptive Intelligence" that monitors device heat and scales model complexity in real-time.
  • Declarative Privacy & Compliance: Master iOS 17+ Privacy Manifests, GDPR/CCPA requirements, and engineering safety guardrails for AI-generated content.
  • Monetization for AI: Implement tiered subscriptions and consumable credit systems using StoreKit 2 and Swift 6 Actors.
  • Apple Intelligence Ready: Prepare for the future of System-Centric AI with App Intents and Semantic Indexing.
What's Inside:
  • Theoretical foundations paired with "Kitchen Analogies" for complex hardware concepts.
  • Advanced Code Examples utilizing Swift 6 Strict Concurrency and the Observation framework.
  • Practical Exercises (Easy to Hard) with detailed instructor solutions and performance analysis.
  • A comprehensive Pre-Submission Checklist to ensure your app passes App Review on the first try.

Whether you are building a coding assistant, a generative art tool, or a privacy-first document scanner, this book provides the technical blueprint for success in the Apple ecosystem. Stop building prototypes and start shipping world

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub