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

Experimental

@pantoken/swift — emetre tokens de disseny de l'Instructure com Swift via Style Dictionary.

Aquesta és la prova native de pantoken: aplatana l'IR a valors concrets de mode únic (@pantoken/core's toStyleDictionary), mantén els tokens natiu-tipats (colors, dimensions, números), i els lliura a @pantoken/sd-config. Canviar platform a flutter/compose reutilitza el mateix camí.

El Swift generat utilitza UIKit i s'orienta a iOS. mise run verify:swift:syntax només analitza la seva source; mise run verify:swift:host requereix Xcode complet i l'iOS Simulator SDK per comprovar els tipus.

Interfícies ​

Funcions ​

Referències ​

default ​

Reanomena i re-exporta generateSwift