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

Whakamātautau

@pantoken/swift — whakaputa tohu hoahoa Instructure hei Swift mā Style Dictionary.

Ko tēnei te taunakitanga taketake o pantoken: ka whakakōrero te IR ki ngā uara konkreti, kotahi-aratau (@pantoken/core's toStyleDictionary), ka pupuri i ngā tohu kua tautuhia i te pūtake (ngā tae, ngā ahuatanga/ahu, ngā tau), ā, ka tuku atu ki @pantoken/sd-config. Mā te whakawhiti i platform ki flutter/compose ka whakamahi anō i taua ara.

Ko te Swift i hanga e whakamahi ana i te UIKit ā, e whāngai ana ki te iOS. mise run verify:swift:syntax anake e tātaritia ana tana puna; mise run verify:swift:host e hiahia ana ki te Xcode katoa me te iOS Simulator SDK kia taea te whakamātau-momo (type-check) i taua mea.

Ngā Atanga ​

Ngā Mahi ​

Ngā Tohutoro ​

default ​

Huri ingoa, ka kawe anō te generateSwift