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

실험적

@pantoken/swift — Style Dictionary를 통해 Instructure 디자인 토큰을 Swift로 내보냅니다.

이것은 pantoken의 네이티브 증거입니다: IR을 구체적이고 단일 모드 값으로 평탄화하고 (@pantoken/core의 toStyleDictionary), 네이티브 타입 토큰(색상, 치수, 숫자)을 유지하여 @pantoken/sd-config에 전달합니다. platform를 flutter/compose로 교체해도 동일한 경로를 재사용합니다.

생성된 Swift는 UIKit을 사용하며 iOS를 대상으로 합니다. mise run verify:swift:syntax 는 오직 자신의 소스만 구문 분석합니다; mise run verify:swift:host 은 타입 검사하려면 전체 Xcode와 iOS 시뮬레이터 SDK가 필요합니다.

인터페이스 ​

함수 ​

참조 ​

default ​

generateSwift의 이름을 바꾸고 재내보냅니다.