Re: Bundles, CFStrings and release/retain
Re: Bundles, CFStrings and release/retain
- Subject: Re: Bundles, CFStrings and release/retain
- From: John Pitcairn <email@hidden>
- Date: Thu, 21 Aug 2003 01:28:17 +1200
I would really recommend just taking the time to read at least the general
CoreFoundation documentation:
Yes, I've certainly paid some attention to the CF docs, but being
rather new to this it takes a while to grasp even basic concepts.
I'll definitely have another read through with particular reference
to the sections you mention.
The short answer to your questions is: If you don't release when you
should, you will leak memory. If you release when you shouldn't, you will
probably cause crashes. If you read the CoreFoundation docs, you will
learn how to use CoreFoundation properly and prevent both of those
problems. :)
Fair enough. I appreciate a little knowledge is a dangerous thing.
Still, I was hoping for an example so I can relate the documentation
to release as used in an actual working AU, given that the
SampleEffectUnit doesn't release anything...
--
John Pitcairn
--------------------------------------------------------------------------
Revolver Design | Opus Locus | Auckland, New Zealand
http://www.revolver.co.nz/forsale.phtml - updated 8 August 2003
--------------------------------------------------------------------------
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.