Swift scripting in practice
summary
Shows how to use Swift scripts to automate concrete tasks: a six-line script that renames a sequence of 100 PNG frames from 1-based to 0-based, a generator that creates playgrounds from an Xcode project and installs the tool into /usr/local/bin, and code-sharing that reads an app enum to keep over 100 animation configs in sync. Uses Marathon with the Swift Package Manager and libraries like xgen, Files and shellout, and the demos work and speed up repetitive work.
AI-written summary · about
chapters (12)
- 0:00Intro
- 1:59Why scripting
- 3:12Example
- 4:46Script
- 5:33Why Swift
- 8:14Game Development
- 12:52Scripting
- 14:19Swift package manager
- 16:42Marathon
- 17:15Demo
- 23:59Useful APIs
- 25:01Conclusion
related talks
29mSwift Scripting in Practice
24mSwift Scripts: Zero to Hero
24mThinking Outside the Box with Swift Package Manager
02h 42mSwift Structured Concurrency
33mScaling Swift Development
44mSwift Packages - Dependency Management of the Future
30mBuilding Swift Command Line Tools
19mSwift to the cloud in a single step
