Skip to main content

iOS API Reference

Comprehensive documentation for Joyfill iOS SDK with cross-module references.

iOS SDK Modules

Module Overview

📱 Joyfill Module

The main SDK module containing:
  • JoyfillFormView - Primary form rendering component
  • JoyfillFormConfig - Configuration objects for form initialization
  • Form Delegates - Event handling protocols
  • UI Components - Built-in form field components
View Joyfill Module Documentation →

🌐 JoyfillAPIService Module

The API service module providing:
  • Network Layer - HTTP client for Joyfill API
  • Authentication - Token management and authentication flows
  • API Endpoints - Methods for documents, templates, and users
  • Request/Response Models - Type-safe API models
View JoyfillAPIService Documentation →

🧮 JoyfillFormulas Module

The formula engine module featuring:
  • Formula Parser - Parse and evaluate form formulas
  • Calculation Engine - Dynamic field calculations
  • Expression Evaluator - Support for complex expressions
  • Built-in Functions - Math, string, and date functions
View JoyfillFormulas Documentation →

📦 JoyfillModel Module

The data models module including:
  • JoyDoc Schema - Document and template structures
  • Field Models - All form field type definitions
  • Validation Models - Validation rules and constraints
  • Type Definitions - Shared types and enums
View JoyfillModel Documentation →

Documentation Format

The iOS SDK documentation is generated using Swift-DocC (Swift Documentation Compiler), providing:
  • ✅ Type-safe API documentation
  • ✅ Interactive code examples
  • ✅ Cross-module references
  • ✅ Search functionality
  • ✅ Dark/light mode support

Additional Resources