类前缀
lèi qián zhuì
- quasiprefix
类前缀
类前缀[lèi qián zhuì]
-
全部由静态成员函数的类没有前缀字母。在前缀前,一般使用名词来表示类的用途。
Classes that consist solely of static member functions have no prefix letter . Beyond the prefix , the class name is usually a noun that indicates the purpose of the class .
-
注意,在Cocoa中,核心类通常以NS前缀开头,NS代表NextStep,这是最初引入Objective-C的操作系统。
Notice that in Cocoa , core classes usually have the NS prefix ; this stands for NextStep , the operating system that originally introduced Objective-C.