I would just like to ask what's the difference between kCFCalendarUnitDay and NSCalendarUnitDay in Objective C? I'm planning to use it to fire a local notification on a specific time of the day. I was thinking, which one is more appropriate to use? I hope you could help me chose. Thanks in advance guys!
NSCalendarUnitDay is being used in Foundation Framework
kCFCalendarUnitDay is being used in Core Foundation Framework
CF Means "Core Foundation"
k represents the constants. That is Apple's Convention while representing constant
NSCalendarUnitDay constant is initialised from the Core Foundation Framework's "kCFCalendarUnitDay" constant.
They both same & representing the same constant.
I would recommend you to use Foundation Framework's NSCalendarUnitDay
Refer the attached screenshot.