title: How do you handle 'require( ..., bail)' statements with ARC?
body: <p>I'm looking through some of the sample code for the <a href="http://developer.apple.com/library/ios/#samplecode/SquareCam/Introduction/Intro.html" rel="noreferrer">Square Cam in Apple's sample code</a>. I want to replicate some of it's functionality in a modern project using ARC. However, there are a ton of require statements such as:</p>
  
  <pre><code>BOOL success = (destination != NULL);
  require(success, bail);
  </code></pre>
  
  <p>Which generates the compiler error:</p>
  
  <blockquote>
    <p>Goto into protected scope.</p>
  </blockquote>
  
  <p>My question is -- what is the appropriate way to handle such statements in a project using ARC?</p>