Re: Memory Mania Revisted
Re: Memory Mania Revisted
- Subject: Re: Memory Mania Revisted
- From: Ondra Cada <email@hidden>
- Date: Sun, 10 Feb 2002 20:53:22 +0100
Nicholas,
>
>>>>> Nicholas Shanks (NS) wrote at Sun, 10 Feb 2002 18:03:11 +0000:
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?
This is correct absolutely.
I still guess you should prefer alloc/init like Apple does, but new provably
works, and (for compatibility sake) will for long, long time to come.
---
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.