Skip to content

Latest commit

 

History

History
90 lines (62 loc) · 2.83 KB

File metadata and controls

90 lines (62 loc) · 2.83 KB

Apparel Editor Starter Kit for iOS

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.

Documentation | Live Demo

Getting Started

Prerequisites

  • Xcode
  • Swift 6+
  • iOS 16+ deployment target

Clone the Repository

git clone https://github.com/imgly/starterkit-apparel-editor-ios.git
cd starterkit-apparel-editor-ios

Open in Xcode

open StarterKit-ApparelEditor.xcodeproj

Xcode will resolve the Swift Package dependencies automatically. Select an iOS Simulator or device and press Run (Cmd+R).

Configuration

License Key

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.

Customization

The starter kit files in StarterKit/ demonstrate how to customize the editor:

  • ConfigurationApparelEditorConfiguration.swift
  • Callbackscallbacks/ (onCreate, onChanged, onExport)
  • Componentscomponents/ (navigation bar, dock, inspector bar, canvas menu)

Architecture

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

Key Capabilities

  • 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

Documentation

For complete integration guides and API reference, visit the CE.SDK iOS Documentation.

License

This project is licensed under the MIT License — see the LICENSE file for details.


Built with CE.SDK by IMG.LY