How can we differentiate between NSMinuteCalenderUnit and kCFCalenderUnitMinute ??
How can we differentiate between NSMinuteCalenderUnit and kCFCalenderUnitMinute ??
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They’re exactly equal and equivalent, but are defined separately because
CFCalendarandNSCalendarare separate interfaces into the same subsystem (insert comment about toll-free bridging here.)For consistency with Apple’s APIs and to ensure readable code, you should use the
kCFconstants with Core Foundation functions and theNSconstants with Cocoa methods/classes.