News for hackers. Stuff that matters.
Re:Objective-C Bitmask Enumeration Essentials by plorkyeran on Friday May 23, 2014 @12:27PM (#7790013)
(mask & NSEventMaskEndGesture) == NSEventMaskEndGesture is the most correct, as it handles the case where NSEventMaskEndGesture has multiple bits set.

There are no comments on this comment yet.