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

Bug 1197628 - Implement cell reuse properly in ClientPickerViewController #984

Merged

Conversation

fluffyemily
Copy link
Contributor

https://bugzilla.mozilla.org/show_bug.cgi?id=1197628

Created individual classes for each type of cell
Moved the creation logic into init for each class to ensure it's only done once, rather than every time it is loaded.

…ller.

Created individual classes for each type of cell
Moved the creation logic into init for each class to ensure it's only done once, rather than every time it is loaded.
}

override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
nameLabel = UILabel()
Copy link

Choose a reason for hiding this comment

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

Nit: We can probably just do let nameLabel = UILabel() and remove this line

fluffyemily pushed a commit that referenced this pull request Sep 1, 2015
…lient-picker-cell-reuse

Bug 1197628 - Implement cell reuse properly in ClientPickerViewController
@fluffyemily fluffyemily merged commit 80ec97b into v1.0 Sep 1, 2015
@fluffyemily fluffyemily deleted the fluffyemily/Bug1197628-correct-client-picker-cell-reuse branch September 1, 2015 09:34
isabelrios pushed a commit to isabelrios/firefox-ios that referenced this pull request Feb 19, 2024
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