• 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: [Newbie Q] Memory Management in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie Q] Memory Management in Cocoa


  • Subject: Re: [Newbie Q] Memory Management in Cocoa
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 5 Nov 2002 23:35:27 +0100

On Tuesday, November 5, 2002, at 11:25 , Kevin Elliott wrote:

Though, I don't think I've ever seen anyone actually call it...

Well, I keep the (so far as I know, never explicitly stated anywhere) convention of using alloc/init instead in production code, but for any quickly-rigged tool it seems to me far more convenient to go

id p=[NSAutoreleasePool new];

than to bother with making the normal variant... ;)
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: [Newbie Q] Memory Management in Cocoa
      • From: Kevin Elliott <email@hidden>
References: 
 >Re: [Newbie Q] Memory Management in Cocoa (From: Kevin Elliott <email@hidden>)

  • Prev by Date: Re: [Newbie Q] Memory Management in Cocoa
  • Next by Date: Re: [Newbie Q] Memory Management in Cocoa
  • Previous by thread: Re: [Newbie Q] Memory Management in Cocoa
  • Next by thread: Re: [Newbie Q] Memory Management in Cocoa
  • Index(es):
    • Date
    • Thread