Anything bad about allocWithZone: [self zone]?
Anything bad about allocWithZone: [self zone]?
- Subject: Anything bad about allocWithZone: [self zone]?
- From: Francisco Tolmasky <email@hidden>
- Date: Thu, 7 Aug 2003 00:45:42 -0700
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)
Thank you in advance,
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.