‹ BackHN Continuity

Thread

macOS Golden Gate Is a Buggy Mess

491 points · 360 comments · SquareOrbits

  1. osdjeicjejcjjr · · focus · HN ↗

    [dead]

    1. [deleted] · · focus · HN ↗

      [deleted]

    2. robin_reala · · focus · HN ↗
      I’m not a Mac developer: what does the NS stand for?
      1. meindnoch · · focus · HN ↗
        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.

    3. sedawkgrep · · focus · HN ↗
      I'm pretty sure all the NS* calls and references in MacOS are from NextSTEP.
      1. meindnoch · · focus · HN ↗
        Yes, but it&#x27;s not like this is some hidden legacy stuff, that you&#x27;re not supposed to encounter. This is part of the public macOS API: <a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;appkit&#x2F;nstext" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;appkit&#x2F;nstext

        Every AppKit and Foundation type uses the NS prefix, and will keep doing so for any foreseeable future. New NS types are added to these frameworks each macOS release.

        1. pixelesque · · focus · HN ↗
          Mission control is not supposed to print the name of the control&#x2F;window visible to the user though, surely, which is what the article is talking about.
    4. waffletower · · focus · HN ↗
      It is; in MacOS NSText is a Cocoa API which arrived and evolved from NeXTstep.
    5. Borgz · · focus · HN ↗
      Seems like most people think the NS prefix stands for NeXTSTEP. What do you think?
    6. codepoet80 · · focus · HN ↗
      Tell me you&#x27;re ignorant about computer science history, without telling me you&#x27;re ignorant about computer science history.
      1. osdjeicjejcjjr · · focus · HN ↗
        codepoet80

        there, just told you

    7. runjake · · focus · HN ↗
      It is.

      Citation: I was a NeXTSTEP developer.

    8. ChrisRR · · focus · HN ↗
      Maybe you should&#x27;ve googled this before you commented
    9. sleepybrett · · focus · HN ↗
      it absolutely is.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.