Is it safe to create a NSCalendarDate, cast it to a CFDate, and store
it in a CFMutableDictionary that uses kCFTypeDictionaryValueCallbacks?
NSMutableDictionary is documented as being toll-free bridged with
CFDictionary, NSDate is toll-free bridged with CFDate, and
NSCalendarDate is a subclass of NSDate. Is this enough to allow me
to store a NSCalendarDate in a CFMutableDictionary?
The reason this has come up is that I'm dealing with Sync Services
from a Carbon app, and in order to push records to iCal I have to
store dates in NSCalendarDate format, which doesn't seem to have a CF
equivalent. If I can't store the NSCalendarDate in a CFDictionary,
I'll have to backtrack and use a NSMutableDictionary instead.
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden