nativ
Nativ is a native macOS app that lets you run AI models locally on Apple silicon, offering chat, model management, performance analytics, and an OpenAI/Anthropic-compatible API server.
苹果未将 icon.json 的 schema 作为公共 API 发布,这个基于实际文件推导的参考填补了开发者在处理 Icon Composer 文件时的关键空白。
IconComposerModel is a Swift package and a living reference for the contents of
Apple Icon Composer's icon.json file. It is intended for apps and tools that
need to inspect, generate, or modify .icon packages.
[!IMPORTANT] Apple documents how to use Icon Composer, but does not currently publish the
icon.jsonschema as a public API. This reference is empirical. It will be updated from real files produced by different Icon Composer versions.
Add this repository as a Swift Package dependency, then import the library:
import IconComposerModel
let iconJSON = iconPackageURL.appending(path: "icon.json")
let icon = try IconComposerIcon.decode(contentsOf: iconJSON)
print(icon.groups.count)
print(icon.groups.flatMap(\.layers).map(\.name))
To encode a modified model:
let data = try icon.encoded()
try data.write(to: iconJSON, options: .atomic)
The package uses open, string-backed values for evolving options such as blend modes and appearances. A newer value can therefore be decoded without waiting for a package update.
A saved .icon file is a package (a directory presented as one file in Finder):
AppIcon.icon/
├── icon.json
└── Assets/
├── Background.svg
└── Symbol.png
icon.json describes composition and rendering. The Assets directory contains
the SVG or bitmap artwork named by image-name.
Unless noted otherwise, attributes are optional. Icon Composer commonly omits a property when it has its default value.
| JSON attribute | Swift property | Meaning |
|---|---|---|
fill | fill | Background fill used when no appearance-specific fill overrides it. |
fill-specializations | fillSpecializations | Background fills for particular appearances. |
color-space-for-untagged-svg-colors | colorSpaceForUntaggedSVGColors | Interprets colors in imported SVGs that have no embedded color-space tag. Observed values: srgb, display-p3. |
groups | groups | Ordered collection of Liquid Glass groups that make up the icon. |
supported-platforms | supportedPlatforms | Declares which enclosure families/platforms the design supports. |
A fill is normally an object with one of these attributes:
| JSON form | Meaning |
|---|---|
{"solid": ""} | One flat co |
根据分类、Topic 和编程语言匹配的相似项目。
Nativ is a native macOS app that lets you run AI models locally on Apple silicon, offering chat, model management, performance analytics, and an OpenAI/Anthropic-compatible API server.

Hermex is a native SwiftUI iPhone app that lets you control a self-hosted Hermes AI agent directly from your phone, with no subscriptions, tracking, or third-party relay.
A macOS command-line tool that uses Apple's on-device speech APIs to transcribe prerecorded audio into plain text, JSON, JSONL, SRT, or WebVTT.