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 — تصدير رموز تصميم Instructure إلى Swift عبر Style Dictionary.

هذا دليل pantoken الأصلي: يقوم بتسطيح الـ IR إلى قيم ملموسة ذوَّة وضع واحد (@pantoken/core's toStyleDictionary), يحتفظ بالرموز ذات الأنواع الأصلية (الألوان، الأبعاد، الأرقام)، ويسلمها إلى @pantoken/sd-config. تبديل platform إلى flutter/compose يعيد استخدام نفس المسار.

يستخدم Swift المُولد UIKit ويستهدف iOS. mise run verify:swift:syntax فقط يقوم بتحليل المصدر; mise run verify:swift:host تحتاج إلى Xcode الكامل و iOS Simulator SDK للتحقق من الأنواع.

الواجهات ​

الدوال ​

References ​

default ​

يعيد تسمية وإعادة تصدير generateSwift