I spent the last week or so building a simple widget to remind me of my goals. It was my first time playing with Swift, and it was both easier and harder than I expected. A few learnings:

  • Claude Code is not that great at Swift. I realized early on that Claude seemed to struggle with a lot of basic tasks, like “locating the midpoint of the screen.” I ended up getting stuff to work by printing a bunch of log statements and having Claude debug in realtime.
  • Swift animations are kind of complicated. I often ran into situations where animations would flicker, and have to visually guess what the bug was. If I were to work on a serious Swift project seriously, I’d want to spend some time studying how animations work at a systems level.