• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bundles, CFStrings and release/retain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Bundles, CFStrings and release/retain
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: Bundles, CFStrings and release/retain
  • Next by Date: Core Audio for a Game Engine
  • Previous by thread: Re: Bundles, CFStrings and release/retain
  • Next by thread: Re: Bundles, CFStrings and release/retain
  • Index(es):
    • Date
    • Thread