search

Home  >  Q&A  >  body text

swift - Objective-C中的NSArray, NS是什么意思呢?

Objective-C中的NSArray, NS是什么意思呢?

迷茫迷茫2767 days ago657

reply all(4)I'll reply

  • 阿神

    阿神2017-04-22 09:01:56

    NS is the abbreviation of NeXTSTEP. NeXTSTEP is a company founded by Steve Jobs after he was kicked out of Apple. It was later brought back to Apple, and these codes were brought into Apple. There is no package or domain name space in obj c, so we rely on prefixes to distinguish them.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 09:01:56

    NextStep, what the person above said is right

    reply
    0
  • ringa_lee

    ringa_lee2017-04-22 09:01:56

    An anti-crash mechanism of Objective-C, the capital letter before the class name is used as a prefix for distinction

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-22 09:01:56

    NextStep :)

    reply
    0
  • Cancelreply