Open tcurdt opened 10 years ago
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.