I noticed my game of life app, Conway, had a couple of cosmetic bugs on newer versions of macOS so I spent a couple of hours fixing them up. While I was at it I couldn’t resist the urge to tinker and added an option for cells to leave trails, which I think makes the app very pretty! I originally wrote the app as a tribute to John Conway. It’s no longer available on the Mac App Store but you can…
Zed’s new modal editor really simplifies a lot because there’s virtually no need for @FocusState any more. I also applied extra polish this afternoon in the way of better VoiceOver descriptions and support for other accessibility features like reduced motion and increased contrast. Dynamic Type and dark mode are, of course, well supported. Zed’s footer is now opaque; avoiding transparency over the…
I’ve clarified the tabs on iPhone and added task separators. The iPad version of Zeds now shows all lists on the screen at once, and supports drag’n’drop both between lists and as a way to export/import text. But drag’n’drop, focus state, text fields and lists are giving me grief! draggable & dropDestination The new draggable and dropDestination APIs are powerful but limited, as with much of…
I’m learning some new SwiftUI APIs by writing a “do it later” iPhone app called Zeds (ok fine… it’s a to do app, and yeah, that name is meant to sound like snoring but doesn’t work for US readers). The premise is to boil everything down into just three lists: things to do later, things to do now, and things I’ve done. These lists are laid out next to each other in space from left to right. Only…
I played the Chaos Game today to make a Sierpiński gasket (aka Sierpiński triangle). You can read the code below or download the Swift Playground to experiment with it yourself. Just plot some points using this simple algorithm to see a ghostly fractal triangle appear from nothing: Set your “current” position to any of the three corners of the big triangle Plot a dot at your current position Pick…