Audiodog logo
  • Apps
    BPM Tap Tempo PhaseChecker Sleeps 'till Speak Unit Tone Generator Sandwich Sudoku Helper
  • Blog
  • Search
  • Contact
  • About
  • Share with Facebook
  • Share with Twitter

Objective-C Memory management convention

28th Dec, 2009 | objective-c

Objective-C Memory management convention

For methods that return objects, the caller may or may not have responsibility to release the returned object.

Method names prefixed with 'alloc' 'copy' or 'new' must be released by the caller.

Objects returned by other method names return autoreleased objects.

Good idea to follow this convention!

Next post: PHP pound sign not rendering correctly Previous post: Messages sent to null in Objective-C

Latest articles

  • Reduce your digital footprint
  • The easiest way to reduce CO2 with your computer right now
  • Green issues are the most important thing to be talking about right now
  • How to auto increment Xcode project build version numbers without plist
  • Core audio component types

Tags

green xcode coreaudio swift web agile repair personal random ios tutorial unix php phpstorm xdebug git magento chef devops ec2 vagrant virtualbox mysql breezejs midi osx svn mongodb parallels symfony css apache nginx trac oop joomla objective-c regex
This website is hosted Green - checked by thegreenwebfoundation.org
Measuring CO2…Website Carbon
 
Privacy policies: Paid apps | Free apps
© Audiodog 2008 - 2024
Do you like cookies? 🍪 We use cookies for analytics to ensure we can continue to improve our website. Learn more