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 07-05-2009, 04:26 AM   #6 (permalink)
Forsworn
Registered Member
 
Forsworn's Avatar
 
Join Date: Oct 2008
Location: Germany
Posts: 504
Default

Quote:
Originally Posted by smasher View Post
Yes. Unless the method has init or a copy in the name, assume it returns an autoreleased objects, or maybe a singleton or shared instance. Either way, if you did not init/copy/retain then you should not release.
'new' in the name indicates a non-autoreleased return object, too.
Forsworn is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,743
Threads: 89,198
Posts: 380,557
Top Poster: BrianSlick (7,129)
Welcome to our newest member, JohnS.
Powered by vBadvanced CMPS v3.1.0

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