A native macOS SwiftUI application that converts dropped .mp4 files to .mov format.
MP4ToMOVConverter/
├── MP4ToMOVConverterApp.swift # App entry point
├── Converter.swift # MVVM ViewModel (ObservableObject)
├── ContentView.swift # Main UI with drag-and-drop
└── Info.plist # macOS app configuration
- Open Xcode
- Create a new project: File → New → Project
- Select "macOS" → "App"
- Product Name:
MP4ToMOVConverter - Interface: SwiftUI
- Language: Swift
- Add the existing Swift files to the project
- Set deployment target to macOS 11.0 or later
- Ensure Info.plist is included in the project
The project includes a Package.swift file. However, for a full macOS app with App struct, you'll need to create an Xcode project.
- Open
MP4ToMOVConverter.xcodeprojin Xcode - Select a macOS target (My Mac)
- Build and Run (⌘R)
- Drag-and-drop .mp4 files
- Real-time progress tracking
- High-quality conversion using AVAssetExportSession
- Clean, modern SwiftUI interface
- Proper file access handling for sandboxed apps
- macOS 11.0 or later
- Xcode 13.0 or later