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

Refactor the cell inheritance hierarchy #596

Merged
merged 4 commits into from
Mar 28, 2018

Conversation

SD10
Copy link
Member

@SD10 SD10 commented Mar 27, 2018

Resolves #499

TODO:

  • CHANGELOG entry
  • Fix tests

@@ -24,8 +24,11 @@

import UIKit

open class MessageHeaderView: UICollectionReusableView, CollectionViewReusable {
open class func reuseIdentifier() -> String { return "messagekit.header.base" }
open class MessageHeaderView: MessageReusableView {
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm wondering if we want to get rid of MessageHeaderView and just keep MessageReusableView?
I'll check if there is any reason why we can't do that. It makes it limiting if you want to use a header as a footer. I'm not sure if that should be a 1.0 change or not.

Copy link
Member Author

Choose a reason for hiding this comment

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

@SD10 SD10 changed the title Refactor the cell inheritance hierarchy [WIP] Refactor the cell inheritance hierarchy Mar 27, 2018
@SD10 SD10 changed the title [WIP] Refactor the cell inheritance hierarchy Refactor the cell inheritance hierarchy Mar 28, 2018
@SD10 SD10 removed the under review label Mar 28, 2018
@SD10 SD10 merged commit 58704a2 into refactor/move-open Mar 28, 2018
@SD10 SD10 deleted the refactor/inheritance branch March 28, 2018 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant