I have time in string format for example 2:00. I want to initialize it to NSDate with present date. I tried doin
time
string
2:00
NSDate
date
You need to use an NSCalendar object to convert NSDateComponents to an NSDate. See Apple's documentation on Creating a Date from Components.
NSCalendar
NSDateComponents