What does the 'k' prefix indicate in Apple's APIs?

locriani picture locriani · Mar 24, 2009 · Viewed 14.6k times · Source

I've run across many examples of Core Foundation variables named k + someVariableNameHere or k + APILibraryName(2Char) + someVariableNameHere. What does this prefix K indicate?

Examples include:

kGLPFAStereo
kCollectionLockBit
kSetDebugOption

Answer

Jarret Hardie picture Jarret Hardie · Mar 24, 2009

The k means constant in hungarian notation... see Lower case "k" in Cocoa.