I ran the test, and it prints "it will work". Which I'm happy to
say, it apparently does. I'm creating NSCalendarDates and storing
them in a CFMutableDictionary, and Sync Services seems perfectly
happy with them (where it was _not_ happy with a CFDate).
Score one for toll-free bridging.
Actually, this sounds like a bug in toll-free bridging -- CFDate
and NSDate should be interchangeable (as specified in the
documentation for both).
I don't think it's a bug. It's just that Sync Services requires a
NSCalendarDate for any database fields of type "calendar date", and
neither CFDate nor NSDate qualify because they do not include time
zone information. The toll-free bridging works fine -- it's Sync
Services that is being picky.
Best wishes,
--Stuart A. Malone
Llamagraphics, Inc.
Makers of Life Balance personal coaching software
http://www.llamagraphics.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden