I have time in string format for example 2:00. I want to initialize it to NSDate with present date.
I tried doing
NSDateComponents *comps = [[NSDateComponents alloc] init];
[comps setHour:2];
I am not able to compare this with a date object. Please help