Re: CoreFoundation <==> Foundation?
Re: CoreFoundation <==> Foundation?
- Subject: Re: CoreFoundation <==> Foundation?
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Sat, 16 Jun 2001 20:35:21 -0700
At 7:45 PM -0500 6/16/01, Brian Hill wrote:
Note: one thing to pay attention to is that if you store ObjC
objects in a CF-type container (ie., array and dictionary), you
should make sure to use the special 'CFType' callbacks constant when
you create the container, ie., for CFDictionary it's
kCFTypeDictionaryValueCallBacks.
Ah, that's why it blew up! Thank you. It had looked like it should
work, but it didn't.
One of the reasons that this works, of course, is that on OSX
10.0.x, the functionality of these property list types is now
implemented underneath by CoreFoundation types. Do a backtrace
sometime when you try to store a nil value in an NSArray and check
it out.
Thanks for the clarification.
--
_Deirdre Stash-o-Matic:
http://weirdre.com http://deirdre.net
"Cannot run out of time.... Is infinite time. You... are finite....
Zathrus... is finite. This... is wrong tool!" -- Zathrus