Swift
Overview
Core Features
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Swift Application Layer β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Colibri.swift API β
β β’ Colibri class (main interface) β
β β’ RequestHandler protocol β
β β’ ColibriStorage protocol β
β β’ Error handling & type conversion β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Swift-C Bridge Layer β
β β’ swift_storage_bridge.c β
β β’ Function pointer callbacks β
β β’ Memory management β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Core C Libraries β
β β’ Prover (proof generation) β
β β’ Verifier (proof verification) β
β β’ Storage plugin system β
β β’ Cryptographic libraries (blst, ed25519) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββQuick Start
iOS Integration
iOS Example App
macOS Development
Development Workflow
Local macOS Build
iOS XCFramework Build
Test System
Unit Tests
Integration Tests
iOS Test App
API Reference
Colibri Class
Storage System
Error Handling
Storage Implementations
Default File Storage
UserDefaults Storage (iOS)
Core Data Storage
Chain Configurations
Supported Chains
Multi-Chain Setup
Performance Optimization
Storage Performance
Memory Management
Testing
Mock Request Handler
Test Utils
CI/CD Integration
GitHub Actions
Automatic Distribution
Troubleshooting
Common Issues
"No such module 'Colibri'"
iOS Simulator Crashes
RPC Calls Fail
Storage Permissions
Debug Tips
Storage Debug
Network Debug
Platform Specifics
iOS Considerations
macOS Considerations
Further Information
Last updated