• 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: Anything bad about allocWithZone: [self zone]?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anything bad about allocWithZone: [self zone]?


  • Subject: Re: Anything bad about allocWithZone: [self zone]?
  • From: Wade Tregaskis <email@hidden>
  • Date: Thu, 7 Aug 2003 18:23:41 +1000

If I understand correctly, I don't see any reason to not always use allocWithZone: [self zone] (self being whatever object is creating another). Yet, I don't see it "enforced" or suggested much. Is there anything bad about doing this? Should I replace all my alloc's with allocWithZone: [self zone] ?
(thus, in a document based app, just about everything would be allocated in the same zone as the given NSDocument object)

I believe allocWithZone is depreciated.

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.

References: 
 >Anything bad about allocWithZone: [self zone]? (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: OS X lineendig - \n or \r
  • Next by Date: Re: OS X lineending - \n or \r
  • Previous by thread: Anything bad about allocWithZone: [self zone]?
  • Next by thread: Re: Anything bad about allocWithZone: [self zone]?
  • Index(es):
    • Date
    • Thread