A different stack overflow question asked how to draw a grid on a UIView in Swift. The accepted answer (code below) seemed to work for most people. However, I am not able to get