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

Intrinsic content size information #72

Open
bcaver opened this issue Feb 21, 2017 · 0 comments
Open

Intrinsic content size information #72

bcaver opened this issue Feb 21, 2017 · 0 comments

Comments

@bcaver
Copy link

bcaver commented Feb 21, 2017

When using AutoLayout and building a UIView that contains one or various RTLabel, if you want the size of the UIView to depends on the size of the RTLabel, the RTLabel class needs to be extended in order to override the intrinsicContentSize function to return [self optimumSize].

It would be nice to have this feature added by default in the RTLabel class.

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

No branches or pull requests

1 participant