I want to compare time blocks to see if they over lap. For example, 10am - 12pm and 11am - 1pm. I was wondering if i need to create a custom class for that or if obj-c has a class with methods that can help me do that. I looked at NSDateComponents, but the problem is that i can only set one hour, not the interval. Incase i need to make a custom class, is there a way to input the actual time (10:00) or would i need to use integers and such.
Thanks in advance.