• 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: Am I overreleasing something?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Am I overreleasing something?


  • Subject: Re: Am I overreleasing something?
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Fri, 10 Jun 2005 18:03:47 +0100


On 10 Jun 2005, at 17:53, Ondra Cada wrote:

On 10.6.2005, at 16:44, Glen Simmons wrote:

I suppose the other way is to avoid using autorelease, entirely, and use release whereever possible. At least that way I'll get my errors as soon as possible.


Well, there's no way to avoid using autorelease entirely.


There is, of course. You can use Cocoa-Java. Shudder :)


... autorelease is a very useful tool and you would be really limiting yourself if you tried to do without it.


Definitely.

I didn't quite mean it to that extreme, that would be silly. I meant more like this within my own code:


Obj = [[MyClass alloc] init];
[Obj doStuff];
[Obj release];

When it comes to being used implicitly, via globals eg, NSString stringWithCString: or other stuff, I'm happy to use it.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Am I overreleasing something?
      • From: Shawn Erickson <email@hidden>
References: 
 >Am I overreleasing something? (From: "Theodore H. Smith" <email@hidden>)
 >Re: Am I overreleasing something? (From: Glen Simmons <email@hidden>)
 >Re: Am I overreleasing something? (From: "Theodore H. Smith" <email@hidden>)
 >Re: Am I overreleasing something? (From: Glen Simmons <email@hidden>)
 >Re: Am I overreleasing something? (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Help parsing dictionary integer
  • Next by Date: Re: Archiving selection index paths with core data
  • Previous by thread: Re: Am I overreleasing something?
  • Next by thread: Re: Am I overreleasing something?
  • Index(es):
    • Date
    • Thread