Alex Rivera | Logout

What does the NS prefix mean?

Asked 2009-01-23T17:22:44.037
660

Many classes in Cocoa/Cocoa Touch have the NS prefix. What does it mean?

Edit
Report

1 Answer

12

When NeXT were defining the NextStep API (as opposed to the NEXTSTEP operating system), they used the prefix NX, as in NXConstantString. When they were writing the OpenStep specification with Sun (not to be confused with the OPENSTEP operating system) they used the NS prefix, as in NSObject.

answered 2009-01-24T02:32:46.093

Your Answer