Lower case “k” in Cocoa

后端 未结 2 1457
孤独总比滥情好
孤独总比滥情好 2020-12-02 10:50

I know this is a common convention, but what does the \"k\" in variable names signify? (i.e. kMaxImageViewSize) I looked in the Apple documentation on Variable names and fo

相关标签:
2条回答
  • 2020-12-02 11:09

    That's a general programming notation not specific to Objective-C (i.e. Hungarian Notation) and the "k" stands for "constant".

    0 讨论(0)
  • 2020-12-02 11:21

    I would presume it means "konstant". :-)

    0 讨论(0)
提交回复
热议问题