Why is overriding unavailable designated initializer of super required?
Why is overriding unavailable designated initializer of super required?
- Subject: Why is overriding unavailable designated initializer of super required?
- From: Seth Willits <email@hidden>
- Date: Mon, 10 Aug 2015 13:27:15 -0700
I've yet to understand this:
https://gist.github.com/swillits/3133e114f770947b3cf6
If a subclass says that its superclass's designated initializer is unavailable (IOW, the subclass's designated initializer must be used), why does the compiler produce a warning that the superclass's designated initializer must be overridden in the subclass?
If the subclass is going to call super's designated initializer via [super init....] then this subclass override would never get called anyway...
What am I missing?
--
Seth Willits
_______________________________________________
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