I’m trying to get up to speed on Swift macros. I found this video by @kitlangton very useful.
youtu.be/zeB-kmb74FY?si=yeq_…
Replying to @iOSDevZone @sm
I suppose that's one response.
Not really iOS related, but I may have done a thing. Just a proof-of-concept. Full of bugs (no sound, some keyboard errors, changes not persisted, no way to insert floppy) ... But an Apple Lisa in the browser... iosdevzone.github.io/LisaOnl…
Replying to @khayyamtology
There's a great Stanford course on YouTube. They update it every year. Here's a link to the playlist for the latest (?)... youtu.be/bqu6BquVi2M
I really like when I search for a commonly recurring pattern and find that swift has me covered...
I previously would have written:
let (row, col) = (index/colCount, index%colCount)
yes, it's shorter, but I suspect the compile can work better with this:
Some injury issues have been keeping me from my side-projects. I initially was doing crosswords and sudoku, but then I figured my time might be better spend code-golfing LeetCode in Swift. The results have been mixed, but interesting...
leetcode.com/problems/number…
Always fun when the solution to a problem on LeetCode is one line (albeit a long one) of Swift
leetcode.com/problems/subset…
Spotted this fascinating video on YouTube by @SebastianLague about route finding algorithms based on ant colony and slime mold simulations.
youtube.com/watch?v=X-iSQQgO…
Really clear explanations of the theory, mesmerizing visuals and lots of links in the description.







