Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: