title: Why does objective-c not have API availability checking?
body: <p>Swift 2 have API <a href="https://developer.apple.com/swift/" rel="noreferrer">availability checking</a>.</p>
  
  <blockquote>
    <p>The compiler will give you an error when using an API too new for your
    minimum target OS</p>
  </blockquote>
  
  <p>Why can't the objective-c compiler do the equivalent?</p>
  
  <p>I googled objective c API availability checking and only swift 2 results came out so I assume the compiler for objective c can't do that.</p>