Hello
If I have this array:
var objects = [
Object(value: 100, date: Date(), imageTemplate: "30"),
Object(value: 200, date: Date(), imageTemplate: "20"),
Object(value: 400, date: Date() + 84000, imageTemplate: "10")
]
How can I count how many different dates are in the array using NSPredicate?
In this case it should return 2.
Thank You!