I wanted to indicate the most recent move in an AI-on-AI game of TicTacToe, so I wanted to have the most recent move be highlighted. The Xs and Os are CAShapeLayer
objects.
Here's the code to do it, ~~featuring a very ugly hack to cast an IntPtr
to an NSObject …