Skip to content

pantoken-root / swift

swift ​

Compatibility ​

Target: Swift iOS. Current format: UIKit SwiftPM module, runtime token check, and compiled Icons.xcassets. Tested environment: Xcode 27.0 (27A266a), Swift 6.4, iOS Simulator SDK/runtime 27.0, iPhone 18 Pro, arm64 iOS 15 deployment target. Runtime tested only on iOS Simulator 27.0; this does not establish an iOS 15 runtime floor. No watchOS or tvOS claim.

Full compatibility matrix

Arbrofol

@pantoken/swift — allbynnwch tokenau dylunio Instructure fel Swift trwy Style Dictionary.

Dyma brawf cynhenid pantoken: mae'n sythu'r IR i werthoedd concrid, un-modd (@pantoken/core's toStyleDictionary), yn cadw'r tokenau â math cynhenid (lliwiau, dimensiynau, rhifau), ac yn eu rhoi i @pantoken/sd-config. Trosi platform i flutter/compose yn ailddefnyddio'r un llwybr.

Mae'r Swift a gynhyrchir yn defnyddio UIKit ac yn targedu iOS. mise run verify:swift:syntax yn unig yn dadansoddi ei ffynhonnell; mise run verify:swift:host mae angen Xcode llawn a'r iOS Simulator SDK arno i'w wirio'n fathio.

Rhyngwynebau ​

Swyddogaethau ​

Cyfeiriadau ​

default ​

Ail-enwi ac ail-allyrru generateSwift