Apple API中的"k"前缀表示什么? [英] What does the 'k' prefix indicate in Apple's APIs?
本文介绍了Apple API中的"k"前缀表示什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到了许多名为k
+ someVariableNameHere
或k
+ APILibraryName(2Char)
+ someVariableNameHere
的Core Foundation变量示例.此前缀K
表示什么?
I've run across many examples of Core Foundation variables named k
+ someVariableNameHere
or k
+ APILibraryName(2Char)
+ someVariableNameHere
. What does this prefix K
indicate?
示例包括:
kGLPFAStereo
kCollectionLockBit
kSetDebugOption
kGLPFAStereo
kCollectionLockBit
kSetDebugOption
推荐答案
k表示匈牙利符号中的常量...请参阅.
The k means constant in hungarian notation... see Lower case "k" in Cocoa.
这篇关于Apple API中的"k"前缀表示什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文