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

Add default implementation for other UITableViewDelegate/UICollectionViewDelegate methods #22

Merged

Conversation

bobek-balinek
Copy link
Contributor

@bobek-balinek bobek-balinek commented Apr 7, 2020

Checklist

  • All tests are passed.
  • Added tests.
  • Documented the code using Xcode markup.
  • Searched existing pull requests for ensure not duplicated.

Description

As per #16 , when implementing a table view delegate there are currently some methods that aren't implemented. It is currently possible to add these methods by using @objc(…) modifier, but I feel like a default, open for overriding implementation achieves a better experience after all.

Related Issue

Introduction of default implementations for other UITableViewDelegate and UICollectionViewDelegate methods - #16

Impact on Existing Code

No impact on existing code.

@bobek-balinek bobek-balinek marked this pull request as ready for review April 7, 2020 09:16
@bobek-balinek bobek-balinek changed the title Add default implementation for other UITableViewDelegate methods Add default implementation for other UITableViewDelegate/UICollectionViewDelegate methods Apr 7, 2020
@ra1028
Copy link
Owner

ra1028 commented Apr 11, 2020

Thanks @bobek-balinek !
Nicely done 👍

@ra1028 ra1028 merged commit ad96fe2 into ra1028:master Apr 11, 2020
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

2 participants