Re: Is "-init" really needed?
Re: Is "-init" really needed?
- Subject: Re: Is "-init" really needed?
- From: Uli Kusterer <email@hidden>
- Date: Tue, 8 Aug 2017 12:13:50 +0200
On 8. Aug 2017, at 02:23, Carl Hoefs <email@hidden> wrote:
> Is the use of +new discouraged also?
Apple have gone back and forth on this AFAIR. +new was actually the
pre-retain/release way to create an object. So it has been discouraged since
... OpenStep, I think? But it was never formally deprecated, and I'm seeing it
used more and more in ARC code these days.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden