On Tue, 14 Dec 2004 11:39:46 -0800, Ken Victor <email@hidden>
wrote:
i understand that since, eg, NSString and CFString are toll free
bridged
that i can use one or the other as needed (with appropriate casting)
in
cocoa and/or system calls. does this also apply to releasing the
objects as
well? ie, can i:
CFRelease( an NSString)
or
[<a CFString> release]
thanx,
ken
Yes.
With the caveat that if the NSString/CFString is NULL,
CFRelease(aString) will crash, while [aString release] does nothing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden