Native macOS Medical Imaging App — 45K Lines of Swift via AI
45K Lines
Codebase
Swift 6
Language
NOM-024
Compliance
Built a native macOS medical imaging application (45,000 lines of Swift 6) for endoscopic procedures using AI-assisted development. NOM-024 compliant with DICOM support.
The Challenge
An endoscopy clinic needed a native macOS application to capture, annotate, and manage medical images during procedures. Existing solutions were Windows-only or web-based with unacceptable latency. The app needed to meet Mexican medical device regulations (NOM-024).
What I Delivered
- Native macOS application in Swift 6
- Real-time image capture from endoscopic cameras
- DICOM-compatible image storage and export
- Patient record management with NOM-024 compliance
- PDF report generation for procedures
Live capture view with endoscopic camera feed and one-click image capture during procedures.
Image annotation tools for marking findings — annotations persist in DICOM metadata.
The AI Workflow
Built the entire 45,000-line Swift codebase using AI-assisted development. Claude Code handled architecture decisions, SwiftUI views, Core Data models, and camera integration. Development time: ~6 weeks for what would typically be a 6-month project.