Followers

Tuesday, August 31, 2010

"NS" stands for Next Step Heritage in objective-c

NS all the time in various class names, but have yet to come across an explanation for the meaning?

Examples:

•NSObject
•NSString
•NSArray


Answer : NextStep heritage

Foundation Kit, or more commonly simply Foundation, first appeared in OpenStep. On Mac OS X, it is based on Core Foundation. Foundation is a generic object-oriented library providing string and value manipulation, containers and iteration, distributed computing, run loops, and other functions that are not directly tied to the graphical user interface. The "NS" prefix, used for all classes and constants in the framework, comes from Cocoa's NeXTSTEP heritage.

No comments: