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

[ASCollectionElement] Check for nil elements on ASTableView as well. #710

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

cesteban
Copy link
Contributor

This protects ASTableView's willDisplayCell:forRowAtIndexPath: and didEndDisplayingCell:forRowAtIndexPath: against nil elements, matching the behaviour added to ASCollectionView on #421. Should fix the crash reported in #709.

I also added consumesCellNodeVisibilityEvents to _ASTableViewCell, again to resemble the implementation of its counterpart _ASCollectionViewCell.

Any feedback is very much welcome.

Copy link
Contributor

@maicki maicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Would be great to have another one look over it though.

@ghost
Copy link

ghost commented Dec 11, 2017

1 Warning
⚠️ Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.

Generated by 🚫 Danger

@cesteban
Copy link
Contributor Author

Thank you very much @maicki.

Any news on this?

Copy link
Member

@nguyenhuy nguyenhuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well.

@nguyenhuy nguyenhuy merged commit 8f19434 into TextureGroup:master Dec 19, 2017
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
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.

None yet

4 participants