jamztang/CSStickyHeaderFlowLayout — pull request #1 by andreamazz (2014-02-15 15:55:05+00:00)
Title: Fixed autolayout issues

I changed line 79 from
```objc
CGFloat height = MAX(0, -y + maxY);
```
to
```objc
CGFloat height = MAX(1, -y + maxY);
```
to prevent an issue with autolayout:
```
2014-02-15 16:51:44.073 CSStickyHeaderFlowLayoutDemo[14879:70b] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
""
)

Will attempt to recover by breaking constraint

Break on objc_exception_throw to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
```