I want to set a custom mouse cursor for my app and would like to programmatically change the default cursor’s color to a custom color by replacing the white border with the custom color. The problem is that I don’t even know where to start to programmatically edit images in Cocoa, so any help is appreciated!
Share
My final code. This takes the standard IBeam cursor (that one when you hover over a textview) and stores the colored cursor in the
coloredIBeamCursorpointer.