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

Tilrauna

@pantoken/swift — gefur út Instructure hönnunar tákn sem Swift með Style Dictionary.

Þetta er innfædd sönnun pantoken: það flatar IR-ið niður í áþreifanleg, einstillinga gildi (@pantoken/core's toStyleDictionary), heldur í upprunalegum týpukröfum tokens (litir, stærðir, tölur) og afhendir þau til @pantoken/sd-config. Að skipta platform fyrir flutter/compose endurnýtir sama ferilinn.

Myndaða Swift-ið notar UIKit og beinist að iOS. mise run verify:swift:syntax greinir aðeins sitt uppsprettu; mise run verify:swift:host krefst fulls Xcode og iOS Simulator SDK til að tegundaskoða það.

Viðmót ​

Föll ​

Tilvísanir ​

default ​

Endurnefnir og endurflytur generateSwift