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

How can i creat a cell with different size in another section? #168

Open
Nathan0518DC opened this issue May 14, 2013 · 3 comments
Open

How can i creat a cell with different size in another section? #168

Nathan0518DC opened this issue May 14, 2013 · 3 comments

Comments

@Nathan0518DC
Copy link

How can i creat a cell with different size in another section. Like, in section one , i want that in this section has only one cell,but the cell i wanted is 320x400;and in section two, there are lots of cells which are about 75x75. How can i do that? Hope somebody can help me.

@kolinkrewinkel
Copy link
Owner

I'm pretty sure the current API doesn't allow it. Returning different cells for different sections could probably allow you to fake it (by changing the cell's appearance.)

@Nathan0518DC
Copy link
Author

@kolinkrewinkel thanks, i've already found a solution for this question. The hearder and the footer view could be replaced, so i make it as a different cell.

@PreetySingh
Copy link

Hi,
I want to do the same...can you please explain a bit how did you achieved that by changing header and footer because as I am changing the cell size the layout later in the UI is disturbed completely.

Thank you in advance for your cooperation.

Also,Can I create entirely different cell to be loaded for a different section. Because I tried to create new .h and .m files and later loaded them in a particular section but those cells are not visible.

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

No branches or pull requests

3 participants