Re: Memory Mania Revisted
Re: Memory Mania Revisted
- Subject: Re: Memory Mania Revisted
- From: Ondra Cada <email@hidden>
- Date: Sun, 10 Feb 2002 23:31:23 +0100
Nicholas,
>
>>>>> Ondra Cada (OC) wrote at Sun, 10 Feb 2002 20:53:22 +0100:
NS>> So, from what I've gathered reading this (rather interesting) thread,
NS>> [NSSomeObject new] is entirely equivalent to/synonymous with
NS>> [[NSSomeObject alloc] init]
NS>>
NS>> Is this correct?
OC>
OC> This is correct absolutely.
Well, as somebody written: unless a class re-implemented new to do something
different.
But I haste to add that so far as I wa able to grok NeXTStep/OpenStep
conventions in those 10+ years I use them, a class design where alloc/init
would behave differently from new would be *QUITE* broken!!!
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.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.