~/talk

Swift Scripting in Practice

Talkat Mobius 2017 Piter · 2017-04-21..04-22· [swift]
slides:none on file

Shows concrete wins: replaces manual renaming of ~100 animation frames and auto-generates configs for over 100 animations by importing the app enum as a single source of truth. Compares single-file Swift scripts (slow, no frameworks) with compiled tools via the Swift Package Manager, and introduces Marathon which bootstraps packages, compiles scripts to binaries, installs to /usr/local/bin, and runs them. Demo uses Files, ShellOut and XcodeGen (xgem); it builds, installs and opens workspaces successfully, aside from a demo typo.

AI-written summary · about

  1. 0:00Introduction to Swift
  2. 1:57Benefits of Scripting
  3. 3:20Practical Example: Renaming
  4. 5:53Why Use Swift for Scripts
  5. 8:36Shared Code Example
  6. 12:27Methods of Scripting
  7. 16:09Introducing Marathon
  8. 18:55Demo: Creating a Tool
  9. 22:19Installing and Using Scripts
  10. 23:41Useful APIs and Tips
  11. 25:43Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.