logoalt Hacker News

alanbernstein • yesterday at 3:48 PM • 2 replies • view on HN

What does the NS prefix mean?


Replies

rafram • yesterday at 4:03 PM

That it's a symbol in a Cocoa framework :)

NS hasn't had anything to do with NeXTSTEP since, well, NeXTSTEP. The author's wording makes it sound like this is some crazy remnant of forgotten 30-year-old code poking through, but it's really not. It's Swift (most likely) string concatenation being passed a view instance instead of a string by mistake.

➕ show 2 replies
NateEag • yesterday at 4:03 PM

NeXTSTEP. Grandparent is wrong.

Search this document for "Historical Note" for the canonical explanation:

https://developer.apple.com/library/archive/documentation/Co...