title: Core data to-many NSPredicate with AND
body: <p>I'm trying to write a query for the find-as-you-type search bar. What I want to do is query "Kind", and return any Kinds for which there is a LocalName with ('name' LIKE %@ AND localeIdentifier == %@).</p>
  
  <p>If I'm only searching the names (so ignoring the localeIdentifier), I could do something like this:</p>
  
  <pre><code>ANY localized.name LIKE %@
  </code></pre>
  
  <p>What I want is something more like</p>
  
  <pre><code>ANY localized.(name LIKE %@ AND localeIdentifier == %@)
  </code></pre>
  
  <p>To sum up, searching "Kind", any one item in the to-many relationship "localized" should match both name and localeIdentifier.</p>
  
  <p>Any ideas for the correct syntax of this?</p>