Skip to content

Simplify Cell/Header/Footer Class Registration#225

Merged
fbartho merged 1 commit into
v0.9.0from
fb/reuse_identifier_simplicity_boilerplate_removal
Oct 4, 2017
Merged

Simplify Cell/Header/Footer Class Registration#225
fbartho merged 1 commit into
v0.9.0from
fb/reuse_identifier_simplicity_boilerplate_removal

Conversation

@fbartho

@fbartho fbartho commented Oct 4, 2017

Copy link
Copy Markdown
Contributor
  • Adds an optional protocol & UICollectionView extension for registering cells/headers/footers
  • Also simplify / remove boilerplate from dequeueing reusable cells, in a generic, typesafe-way.

Future Exercises:

  • Clean up header/footer dequeuing to fit into this generic style.

Also simplify / remove boilerplate from dequeueing reusable cells.

@SD10 SD10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice cleanup 👍

@fbartho fbartho merged commit efab11c into v0.9.0 Oct 4, 2017
@fbartho fbartho deleted the fb/reuse_identifier_simplicity_boilerplate_removal branch October 4, 2017 01:38
@SD10 SD10 mentioned this pull request Oct 5, 2017
24 tasks
@NikKovIos

Copy link
Copy Markdown

How to use it?

@nathantannar4

Copy link
Copy Markdown
Member

@NikKovIos see MessagesViewController.swift

Sent with GitHawk

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.

4 participants