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

A way to have more than one cell in a nib #97

Open
qizh opened this issue May 31, 2019 · 1 comment
Open

A way to have more than one cell in a nib #97

qizh opened this issue May 31, 2019 · 1 comment

Comments

@qizh
Copy link
Contributor

qizh commented May 31, 2019

Is your feature request related to a problem? Please describe.
I would like to keep multiple cells in one Nib.

Describe the solution you'd like
Add an extra case to Former.InstantiateType enum that will specify some identifier of a cell in Nib. A restorationIdentifier or an index. Or just find an instance of a current cell class.

@ZacharyKhan
Copy link
Collaborator

ZacharyKhan commented Jun 19, 2019

@qizh I am not sure this would make sense to add into Former since it’s a very unique use-case.

Rather, you’d be better off forking the repo and making changes as you need them. I am also unsure why you would want to use multiple cells in a nib, this seems likely to have issues.

What is the need to for multiple cells in a single nib?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants