Re: New error “Method override for the designated initializer of the superclass ‘-init’ not found”
Re: New error “Method override for the designated initializer of the superclass ‘-init’ not found”
- Subject: Re: New error “Method override for the designated initializer of the superclass ‘-init’ not found”
- From: Jens Alfke <email@hidden>
- Date: Wed, 10 Jun 2015 09:46:53 -0700
On Jun 10, 2015, at 12:16 AM, Kyle Sluder < email@hidden> wrote:
You should be able to use the NS_UNAVAILABLE macro in your @interface to "delete" -init from your subclass, and thus suppress the warning.
👍🏻Perfect! I was unaware of this attribute and it’s exactly what I needed. Thanks.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden