Installation
Swift Package Manager
Add InsForge to your Swift Package Manager dependencies:Enable Logging (Optional)
For debugging, you can configure the SDK log level and destination:
Log Destinations:
Use
.info or .error in production to avoid exposing sensitive data in logs.- File → Add Packages…
- Enter:
https://github.com/insforge/insforge-swift.git
CocoaPods (coming soon)
Quick start
Features
- Database - Type-safe CRUD operations with Codable support
- Authentication - Email/password and OAuth authentication
- Storage - File upload, download, and management
- AI - Chat completions and image generation
- Realtime - WebSocket-based pub/sub messaging
- SwiftUI Integration - Property wrappers and environment values
Platform support
SDK reference
Database
CRUD operations with Codable models
Authentication
Sign up, sign in, OAuth, and user management
Storage
File upload, download, and management
AI
Chat completions and image generation
Realtime
WebSocket pub/sub messaging