Subject: Re: Is "-init" really needed?



> On Aug 8, 2017, at 05:13, Uli Kusterer <[email protected]> wrote:
>
> 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.

Discouraged? Where? I have never seen proof of that. It's equivalent to
alloc/init, so why would it be discouraged?

Steve via iPad

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/maillists%40codeha.us

This email sent to [email protected]

...



Programming list archiving by: Enterprise Git Hosting