title: ios break nested loop
body: <p>If I have a <code>while</code> loop with a <code>for</code> loop <em>inside</em> of the <code>while</code> loop, how can I <code>break</code> both loops?</p>
  
  <p>I'm doing this because the extra 250ms I get from not completing these loops after I found what I want adds up to be valuable after a while.</p>
  
  <p>pseudocode:</p>
  
  <pre><code>while(alwaysTrue) {
      for(NSArray *arr in twoThousandItems) {
          if(IFoundWhatIWasLookingFor) {
              // assign some stuff here
              // break everything, not just the for loop.
          }
      }
  }
  </code></pre>