Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-06-2009, 06:36 PM   #4 (permalink)
DenVog
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Default

Quote:
Originally Posted by RickMaddy View Post
Here's the simplest rule: If you directly call any of the following methods on an object then you must call release on the object:

alloc/init
retain
copy
mutableCopy
I have a couple simple follow-up questions:
  1. Do you need to release statements when you "initWithFormat", "initWithTitle", or "SoundEngine_Initialize"
  2. How do you decide when to release within a method (e.g. [actionSheet release]; ) vs. doing it in the - (void)dealloc method

Last edited by DenVog; 04-06-2009 at 07:19 PM.
DenVog is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,624
Threads: 89,143
Posts: 380,332
Top Poster: BrianSlick (7,110)
Welcome to our newest member, andrewwold
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.