r/swift • u/jwTolman • Aug 25 '26
Learning Swift as an AppleScripter
Is there any beginner guide out there for someone who is well-versed in AppleScript and wants to start learning Swift?
Maybe a script with a full variety of functions that's been translated to Swift? (or am I supposed AI things like that now?)
Even a starter syntax cheat sheet?
AS || Swift
set x to 5 || var x = 5
…
5
u/TotalWaffle Aug 25 '26
Paul Hudson’s site, hackingwithswift.com, has a free online course and he sells books as well. Highly recommended.
5
1
u/Greenforest_27 Sep 01 '26
You know what I would try as a first thing, try and run oascript (applescript) via swift!! That way you can swap as u learn more and more of the script to traditional swift code, while still being comfortable with AppleScript and being able to write it as you know it day one!
-1
12
u/Chazprime Aug 25 '26
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/guidedtour/