How to hide the mouse cursor?
How do you make the mou开发者_JAVA技巧se cursor disappear in Objective-C? (just the visible mouse cursor, the mouse still needs to work)
[NSCursor hide];
then to show the cursor again:
[NSCursor unhide];
In Swift
NSCursor.hide()
NSCursor.unhide()
精彩评论