title: MacOS: NSPredicate find where "one to one" relationship is not nil
body: <p>I am trying to use <code>NSPredicate</code> to filter a Core Data fetch request. The predicate string looks like this:</p>
  
  <pre><code>"stringProperty = %@ &amp;&amp; dateProperty &gt; %@ &amp;&amp; oneToOneRelationship != nil"
  </code></pre>
  
  <p>This is isn't returning any objects. However, if I omit the last clause it does. If I change the last clause to be <code>"oneToOneRelationship = nil"</code> then it does. Of course, these last two cases don't return the data I really want. :)</p>
  
  <p>Is there a proper way to search for one-to-one relationships where the relationship exists and isn't nil? It seems like that predicate should be working but it isn't. This is on the current Yosemite beta using Xcode 6.1 beta.</p>
  
  <p>Anyone got any ideas?</p>