Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning for ASLayout method override for the designated initializer of the superclass '-init' not found #trivial #1036

Merged
merged 2 commits into from
Jul 18, 2018

Conversation

maicki
Copy link
Contributor

@maicki maicki commented Jul 17, 2018

No description provided.

{
ASDisplayNodeAssert(NO, @"Use the designated initializer");
return [self init];
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than doing this, let's move the declaration for this out of the "Unavailable" category in the header file, into the primary class interface. That'll get rid of the warning.

Copy link
Contributor Author

@maicki maicki Jul 17, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah decided between that and doing this. We do the same I put up in ASLayoutTransitionI will change it in there too. Updated.

@Adlai-Holler Adlai-Holler force-pushed the MSFixASLayoutInitializerWarning branch from 9412f02 to 76f1e20 Compare July 18, 2018 04:14
@TextureGroup TextureGroup deleted a comment Jul 18, 2018
@TextureGroup TextureGroup deleted a comment Jul 18, 2018
@nguyenhuy nguyenhuy merged commit 736e200 into master Jul 18, 2018
@nguyenhuy nguyenhuy deleted the MSFixASLayoutInitializerWarning branch July 18, 2018 09:57
mikezucc pushed a commit to mikezucc/Texture that referenced this pull request Oct 2, 2018
…er of the superclass '-init' not found #trivial (TextureGroup#1036)

* Fix warning for ASLayout method override for the designated initializer of the superclass '-init' not found

* Move unavailable init into header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants