Skip to content

Update header/footer dequeueing for new reuseIdentifiers#229

Merged
SD10 merged 4 commits into
v0.9.0from
refactor/header-footer-dequeue
Oct 4, 2017
Merged

Update header/footer dequeueing for new reuseIdentifiers#229
SD10 merged 4 commits into
v0.9.0from
refactor/header-footer-dequeue

Conversation

@SD10

@SD10 SD10 commented Oct 4, 2017

Copy link
Copy Markdown
Member
  • Deprecates the old header/footer dequeuing methods
  • Changes the delegate methods to return non-optionals
  • Moves extensions for UICollectionView -> MessagesCollectionView

TODO:

  • Requires CHANGELOG entry

@SD10 SD10 requested a review from fbartho October 4, 2017 03:10

@fbartho fbartho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks great.

Foolish on my part that I didn't catch that the final change I made of changing the identifier strings would break things here!

@SD10

SD10 commented Oct 4, 2017

Copy link
Copy Markdown
Member Author

No worries 😃 This was needing a refactor. It may clear up a rare bug regarding Swift + Objc interop that @cwalo was facing.

I'm wondering if these methods should be defined as part of MessagesCollectionView directly. Then we could possibly ditch the protocol by adding the reuseIdentifier() method to MessageCollectionViewCell. However, this gets the app running for now.

@SD10 SD10 merged commit 81d49a0 into v0.9.0 Oct 4, 2017
@SD10 SD10 deleted the refactor/header-footer-dequeue branch October 4, 2017 04:50
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