title: Swift Break loop for if statement true
body: <p>This is basically code asking. </p>
  
  <pre><code>for obj in objList {
  
      if otherObjList.contains(where: { $0.localString == obj.localString}) {
         //if this statement true, I wanna break this statement and 
         //continue loop on the above list (objList)
       } 
  
  }
  </code></pre>
  
  <p>I had try, if the statement true, it's still try to complete loop on otherObjList. By the way, I wanna break this when statement true and continue loop on for objList. </p>