Design custom apparel graphics in your iOS app — add text, images, and design elements for t-shirts and clothing. Built with CE.SDK by IMG.LY.
- Xcode
- Swift 6+
- iOS 16+ deployment target
git clone https://github.com/imgly/starterkit-apparel-editor-ios.git
cd starterkit-apparel-editor-iosopen StarterKit-ApparelEditor.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-ApparelEditor/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 —
ApparelEditorConfiguration.swift - Callbacks —
callbacks/(onCreate, onChanged, onExport) - Components —
components/(navigation bar, dock, inspector bar, canvas menu)
starterkit-apparel-editor-ios/
├── StarterKit-ApparelEditor.xcodeproj/
├── StarterKit-ApparelEditor/
│ ├── StarterKit_ApparelEditorApp.swift # @main entry point
│ ├── ContentView.swift # Root view launching the starter kit
│ └── Secrets.swift # License key configuration
└── StarterKit/
├── ApparelEditorStarterKit.swift
├── ApparelEditorConfiguration.swift
├── callbacks/ # Lifecycle callbacks
└── components/ # UI component customization
- Apparel Templates — Pre-built t-shirt and clothing templates
- Text & Graphics — Add custom text and design elements
- Image Upload — Add custom images and logos
- Color Zones — Customize apparel colors
- Export — PNG, JPEG, PDF 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.