bdkjones / Kit

The Kit Compiler, as implemented in CodeKit
77 stars 6 forks source link

As this project been updated to Swift? #19

Closed YohannParis closed 3 years ago

YohannParis commented 3 years ago

Hello,

I'm looking into using the project on my own, and I wondered if it has been converted to Swift?

Thanks

bdkjones commented 3 years ago

No. The Kit compiler has not been rewritten in Swift because there's no reason to do so. Swift's String type is really cumbersome compared to NSString and most of the compiler is pointer-arithmetic in C. Using C pointers in Swift is also a godawful experience.

I'd recommend a Swift wrapper around the current ObjC methods.