Events

This single event-related function is used to obtain an event mask for the specified event type.

NSEventMaskFromType

unsigned int NSEventMaskFromType(NSEventType type)

Get Cocoa in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.