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




> On Aug 8, 2017, at 2:15 PM, Uli Kusterer <[email protected]> wrote:
>
> On 8. Aug 2017, at 18:38, Doug Hill <[email protected]> wrote:
>> As others have mentioned, I too have never seen any evidence or statements
>> from Apple that discourages +new or -init. Or designated initializers.
>
> I never said anything about init or designated initializers. In fact, ObjC
> gained support for marking designated initializers fairly recently.

I was responding to a lot of different issues in my email, not necessarily just
yours. My apologies if it came off that way.

But, that said, designated initializers have been in the Objective-C
Programming Guide from Apple since at least 2003 (the earliest version of the
document I can find). And this pattern probably originated in the NeXT days.
What are the recent developments in designated initializers?

Doug Hill
_______________________________________________

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