title: Objective-C - how to find objects with prop equal to date?
body: <p>I'm trying to filter an array of objects selecting those where a property of type NSDate are equal to a specific date. However, I only want to compare the date and ignore any time difference.</p>
  
  <p>So I'm using an NSPredicate as so:</p>
  
  <pre><code>NSPredicate *predicate = [NSPredicate predicateWithFormat:@"PropertyWithDate == %@", 
                        [NSDate date]];
  </code></pre>
  
  <p>As both the object is storing the date with time and the value for now I am passing holds both. How do I arrange it to ignore the time part in both during the comparison?</p>