/Nia

[WIP] SwiftUI photo editor

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

Nia Editor [WIP]

Simple minimalist photo editor on SwiftUI

TestFlight Beta (iOS 16+)

Features

  • Apple's native person segmentation (VNGeneratePersonSegmentationRequest). Сool for making stickers
  • .contextMenu implementation (animations are broken by Apple)
  • Export with ImageRenderer

nia-editor-person-segmentation-menu nia-editor-person-segmentation-result nia-editor-context-menu-macos

Design

  • Pure SwiftUI at any cost. Zero UIKit imports
  • Full Apple-crossplatform.
  • Only modern APIs, zero legacy support. iOS 16+ since day one
  • Zero dependencies

nia-editor-person-segmentation-menu

Icon is generated by a neural network, btw!

Goals

  • Formulate some clean and simple architecture for Apple-crossplatform SwiftUI media-editor projects
  • Collect all the bad hacks in the world

Why it's so messy?

  • I made it
  • SwiftUI is young and raw
  • APIs and project itself is constantly changing

Roadmap

Current tasks are here. Big ones:

  • Video support
  • Video segmentation
  • PencilKit support
  • Face recognition (VNDetectFaceLandmarksRequest). It's already there, but I don't know why