I would like to filter my custom object from date property.
For example:
Now I have a list of maybe 500 events, and I just want to show Want a particular date to loop through all the objects I can create, and create new arrays of objects, but can I also use a filter?
Ill tried something like this:
Give specific avenues = event list .filter ({$ 0.dateFrom> date}}
Date where there is an NSDate object for a specific date, but I'm not able to use the operator
An easy way to get all the events for a specific date Is where the date is between date and date?
No comments:
Post a Comment