Swift Scripting
TofPlay opened this issue Β· comments
Interesting tool π
But why do you use Ruby? π°
In the Apple world we already have an excellent language for this kind of tool: Swift
Swift can also be used to make iOS, macOS applications and on the server too but as well as to make scripts.
Take a look at these articles/videos:
- Scripting in Swift is Pretty Awesome
- A Beginnerβs Guide to Scripting in Swift
- Swift script all the things!
Swift scripts can then be easily converted to executables. Then we juste have to copy on our Mac to use it.
With Swift Apple we offer the ability to make powerful tools and extremely simple to install.
This one could help for parsing xcodeproj
:
https://github.com/xcodeswift/xcproj
@filletofish I know this project π Since this post I create my own projects for my needs like ScriptKit. π XcodeTool is a public project where I used it. With this tool it was easy enough to do others projects like TProperties or TStorage