Cocoa methods that return CF objects
Jim Correia
jim.correia at pobox.com
Sat Jul 5 07:19:16 PDT 2008
On Jul 5, 2008, at 5:37 AM, Uli Kusterer wrote:
> At least I think so. I remember painstakingly swizzling so I can log
> retain/release calls, only to find that CFRetain() on a CFArrayRef
> didn't trigger my override, and I think the above was the reason I
> determined back then.
In its current implementation, CFRetain will send -retain to the
object if the argument is an obj-c object, otherwise do the CF retain
count dance.
Jim
More information about the MacOSX-dev
mailing list