Edit videos in your iOS app — trim clips, add transitions, text overlays, and audio tracks, then export to MP4. Built with CE.SDK by IMG.LY.
- Xcode
- Swift 6+
- iOS 16+ deployment target
git clone https://github.com/imgly/starterkit-video-editor-ios.git
cd starterkit-video-editor-iosopen StarterKit-VideoEditor.xcodeprojXcode will resolve the Swift Package dependencies automatically. Select an iOS Simulator or device and press Run (Cmd+R).
Add your CE.SDK license key in StarterKit-VideoEditor/Secrets.swift:
let secrets = Secrets(
// ...
licenseKey: "your-license-key"
)Without a license key, the editor runs in evaluation mode with a watermark.
The starter kit files in StarterKit/ demonstrate how to customize the editor:
- Configuration —
VideoEditorConfiguration.swift - Callbacks —
callbacks/(onCreate, onExport) - Components —
components/(navigation bar, dock, inspector bar, canvas menu, bottom panel)
starterkit-video-editor-ios/
├── StarterKit-VideoEditor.xcodeproj/
├── StarterKit-VideoEditor/
│ ├── StarterKit_VideoEditorApp.swift # @main entry point
│ ├── ContentView.swift # Root view launching the starter kit
│ └── Secrets.swift # License key configuration
└── StarterKit/
├── VideoEditorStarterKit.swift
├── VideoEditorConfiguration.swift
├── callbacks/ # Lifecycle callbacks
└── components/ # UI component customization
- Timeline — Multi-track video editing with timeline
- Trim & Split — Precise video trimming and splitting
- Effects — Video filters and visual effects
- Transitions — Smooth transitions between clips
- Audio — Background music and audio mixing
- Export — MP4 with quality controls
For complete integration guides and API reference, visit the CE.SDK iOS Documentation.
This project is licensed under the MIT License — see the LICENSE file for details.