Re: Is "-init" really needed?
Re: Is "-init" really needed?
- Subject: Re: Is "-init" really needed?
- From: Doug Hill <email@hidden>
- Date: Wed, 9 Aug 2017 16:34:20 -0700
> On Aug 8, 2017, at 2:15 PM, Uli Kusterer <email@hidden> wrote:
>
> On 8. Aug 2017, at 18:38, Doug Hill <email@hidden> 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@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