logoalt Hacker News

robin_reala • yesterday at 3:22 PM • 1 reply • view on HN

I’m not a Mac developer: what does the NS stand for?


Replies

meindnoch • yesterday at 3:23 PM

NeXTSTEP.

Objective-C doesn't have namespaces (like C), so people use two-letter prefixes on their types to prevent name clashes. The NS prefix is used by Apple's Foundation and AppKit frameworks, that originated from NeXTSTEP, hence NS.