Hand cursor on hover


Drop this code into any subclass of NSView, to enable the hand cursor :

override func resetCursorRects() {
   let cursor:NSCursor = NSCursor.pointingHandCursor()
   addCursorRect(frame, cursor: cursor)
   cursor.setOnMouseEntered(true)
}

img