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

Change layoutSizeDifferentFromBounds macro to a BOOL #1718

Conversation

hanton
Copy link
Contributor

@hanton hanton commented Oct 28, 2019

Rather than defining layoutSizeDifferentFromBounds as a macro, a BOOL can do the job.

@ernestmama
Copy link
Contributor

It looks good to me but I am not sure if there is any particular reason to do it that way in the beginning. Would love some eyes from others.

Copy link
Contributor

@vovasty vovasty left a comment

Choose a reason for hiding this comment

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

Macro looks ugly. imho much simpler just remove the macro and add a comment about this check.

@ernestmama ernestmama merged commit 5f43300 into TextureGroup:master Nov 11, 2019
@hanton hanton deleted the change-layoutSizeDifferentFromBounds-macro-to-BOOL branch November 11, 2019 23:45
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