Unable to query for date using NSPredicate in Swift August 4, 2023 by Tarik In swift 3 the predicate changed to: let datePredicate = NSPredicate(format: "date > %@", currentDate as NSDate)