Re: Is "-init" really needed?
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=04042017; t=1502197296; bh=v1VCwnBvdxdfYg4Pwpav0ppv2Ik2B1ljmsMWfQjo2Bw=; h=From:Content-type:MIME-version:Date:Subject:Message-id:To; b=M3gjVK36oga+9SO1qk1vSBGVDaZs4wPIYVbscIpof4RB+QLLPTNdCEYTh1X0cksFt 7yJE6Ra4jFCBCApDS3Y7CLjRxKgwwWME1F3+6glaXG8ryTWtJw7nV8U0MneV7DItXz N/3a3Nm8V2JZZH1uMCqF633ektHLMldpM6xuQxOe3JINgaxksdTvDgkhOHx6PM8oi7 yo2yB9IXfzYVEtg2Gj/XpkHAFmnJZr4mBaxs9ikJRele5b5W44je1S/Eg/mwiOGCu7 y3vJE6txuIzzffO96hdOxmzzoMLinE7Bur3x4U8AsySecO55wQmoP9Defe6GWx/vUp YcKcbFCkAPNWQ==
On Aug 8, 2017, at 05:13, Uli Kusterer <witness.of.teachtext@gmx.net> 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 (Cocoa-dev@lists.apple.com) 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/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Mills