A minimal iOS app that converts natural language text into calendar events using on-device LLM.
T2C lets you create calendar events by typing natural language like "Lunch with Alex next Tue 1pm @Shibuya". The app uses FoundationModels for on-device parsing and write-only EventKit access for privacy-preserving calendar integration.
- iOS 17+ (for write-only calendar access)
- Xcode 15+
- Swift 5.9+
xcodebuild -project T2C.xcodeproj -scheme T2C -configuration Debug buildThree-layer design:
- UI Layer: SwiftUI single-screen interface
- Business Logic: State machine orchestration (
MainViewModel) - Services:
NLParser(FoundationModels guided generation),CalendarService(EventKit)
- On-device LLM with guided generation (
@Generablemacro) - Write-only calendar access (no read permissions)
- Timezone-aware ISO-8601 date handling
- Privacy-first design
MIT