Skip to content

Conversation

@timkettering
Copy link
Contributor

there was a bug when using the .swift version - the layout cells would appear far down from the header if the header cell height was set to greater than zero. i determined it was because CGRectGetMaxX was being used instead of the 'Y' counterpart. The Obj-C version uses CGRectGetMaxY as well. This solved the issue on my development app.

Thanks for creating a .swift version! :)

@chiahsien
Copy link
Owner

Nice catch, thanks!

chiahsien added a commit that referenced this pull request Nov 22, 2014
changed CGrectGetMaxX to CGRectGetMaxY, to get actual header height, not...
@chiahsien chiahsien merged commit 64bd454 into chiahsien:develop Nov 22, 2014
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.

2 participants