Lower case “k” in Cocoa

后端 未结 2 1537
孤独总比滥情好
孤独总比滥情好 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".

提交回复
热议问题