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

Added changing the default nib #62

Merged
merged 1 commit into from
Jan 19, 2017

Conversation

jay18001
Copy link
Contributor

I added the ability to change the default nib when the brick class is registered.

let nibName = brickClass.nibName
let cellIdentifier: String

if let cellClass = brickClass.cellClass {
cellIdentifier = nibName
self.registerClass(cellClass, forCellWithReuseIdentifier: cellIdentifier)
} else if let defualtNib = nib {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you get the this logic with the below logic?

  • Typo

@codecov-io
Copy link

codecov-io commented Jan 18, 2017

Current coverage is 93.67% (diff: 81.81%)

No coverage report found for master at 4ce7462.

Powered by Codecov. Last update 4ce7462...82191a2

@rubencagnie rubencagnie merged commit d5028f2 into wayfair-archive:master Jan 19, 2017
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.

3 participants