-
Notifications
You must be signed in to change notification settings - Fork 49
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
support for autolayout #31
Comments
Same in 0.9 |
I just pushed a fix that works around the issue when the size was previously 0 in one direction or another. In my use case, it was specifically for a height that equalled that of the table header, so please test it to make sure it works when the frame size is 0 as well. |
Thanks. Will give it a try. |
Does this work correctly now? |
Sorry, didn't get around to test it yet. Still using the hack I put in place. |
With autolayout the views usually have a zero size before the frame gets assigned by the system. Which causes an
NSAssert
at least in with version '~> 0.8' (which is the latest version on cocoapods)https://github.com/mochidev/MDSpreadView/blob/master/Classes/MDSpreadView.m#L2114
I haven't tried master or 0.9 yet.
The text was updated successfully, but these errors were encountered: