Learning the API
// have to update the mouse sh*t like it’s the first drawing.
// there’s near identical code in drawRect: so that means
// this is all f*cking wrong. But whatever. This is about
// learning the API, not learning how to code.
Source: Direct link to the source code
Programming language: C