How would I compare only the year-month-day components of 2 NSDates?
NSDates
Since iOS 8 you can use -compareDate:toDate:toUnitGranularity: method of NSCalendar.
-compareDate:toDate:toUnitGranularity:
NSCalendar
Like this:
NSComparisonResult comparison = [[NSCalendar currentCalendar] compareDate:date1 toDate:date2 toUnitGranularity:NSCalendarUnitDay];