Re: Anything bad about allocWithZone: [self zone]?
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.