Function-Key Unicodes

Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard.

Overview

Combined in NSString objects, these constants represent values that can be used with the characters and charactersIgnoringModifiers properties and may be used in some parameters in the NSEvent method keyEvent(with:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:).

Note that some function keys are handled at a lower level and are never seen by your app. They include the Volume Up key, Volume Down key, Volume Mute key, Eject key, and Function key found on many computers.

Topics

Constants

var NSF20FunctionKey: Int

F20 key. Not on most Macintosh keyboards.

var NSF21FunctionKey: Int

F21 key. Not on most Macintosh keyboards.

var NSF22FunctionKey: Int

F22 key. Not on most Macintosh keyboards.

var NSF23FunctionKey: Int

F23 key. Not on most Macintosh keyboards.

var NSF24FunctionKey: Int

F24 key. Not on most Macintosh keyboards.

var NSF25FunctionKey: Int

F25 key. Not on most Macintosh keyboards.

var NSF26FunctionKey: Int

F26 key. Not on most Macintosh keyboards.

var NSF27FunctionKey: Int

F27 key. Not on most Macintosh keyboards.

var NSF28FunctionKey: Int

F28 key. Not on most Macintosh keyboards.

var NSF29FunctionKey: Int

F29 key. Not on most Macintosh keyboards.

var NSF30FunctionKey: Int

F30 key. Not on most Macintosh keyboards.

var NSF31FunctionKey: Int

F31 key. Not on most Macintosh keyboards.

var NSF32FunctionKey: Int

F32 key. Not on most Macintosh keyboards.

var NSF33FunctionKey: Int

F33 key. Not on most Macintosh keyboards.

var NSF34FunctionKey: Int

F34 key. Not on most Macintosh keyboards.

var NSF35FunctionKey: Int

F35 key. Not on most Macintosh keyboards.

var NSInsertFunctionKey: Int

Insert key. Not on most Macintosh keyboards.

var NSDeleteFunctionKey: Int

Forward Delete key.

var NSBeginFunctionKey: Int

Begin key. Not on most Macintosh keyboards.

var NSPrintScreenFunctionKey: Int

Print Screen key. Not on most Macintosh keyboards.

var NSScrollLockFunctionKey: Int

Scroll Lock key. Not on most Macintosh keyboards.

var NSPauseFunctionKey: Int

Pause key. Not on most Macintosh keyboards.

var NSSysReqFunctionKey: Int

System Request key. Not on most Macintosh keyboards.

var NSBreakFunctionKey: Int

Break key. Not on most Macintosh keyboards.

var NSResetFunctionKey: Int

Reset key. Not on most Macintosh keyboards.

var NSStopFunctionKey: Int

Stop key. Not on most Macintosh keyboards.

var NSMenuFunctionKey: Int

Menu key. Not on most Macintosh keyboards.

var NSUserFunctionKey: Int

User key. Not on most Macintosh keyboards.

var NSSystemFunctionKey: Int

System key. Not on most Macintosh keyboards.

var NSPrintFunctionKey: Int

Print key. Not on most Macintosh keyboards.

var NSClearDisplayFunctionKey: Int

Clear Display key. Not on most Macintosh keyboards.

var NSInsertLineFunctionKey: Int

Insert Line key. Not on most Macintosh keyboards.

var NSDeleteLineFunctionKey: Int

Delete Line key. Not on most Macintosh keyboards.

var NSInsertCharFunctionKey: Int

Insert Character key. Not on most Macintosh keyboards.

var NSDeleteCharFunctionKey: Int

Delete Character key. Not on most Macintosh keyboards.

var NSPrevFunctionKey: Int

Previous key. Not on most Macintosh keyboards.

var NSNextFunctionKey: Int

Next key. Not on most Macintosh keyboards.

var NSSelectFunctionKey: Int

Select key. Not on most Macintosh keyboards.

var NSExecuteFunctionKey: Int

Execute key. Not on most Macintosh keyboards.

var NSUndoFunctionKey: Int

Undo key. Not on most Macintosh keyboards.

var NSRedoFunctionKey: Int

Redo key. Not on most Macintosh keyboards.

var NSFindFunctionKey: Int

Find key. Not on most Macintosh keyboards.

var NSModeSwitchFunctionKey: Int

Mode Switch key. Not on most Macintosh keyboards.