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 add multiple tableview cutome cell & custom collection view? #20

Open
maulikshah09 opened this issue Jun 14, 2017 · 3 comments

Comments

@maulikshah09
Copy link

I Have 5 section in tableview.1st section, 3rd section & 5th section I have added collection view. Now how can i save scroll in every section.I have also try to add collection view cell in 1st section,3rd section & 5th section but cell cell not visible.

my requirement is 1stsection add tableview cell not in that cell i need to add collection view now i have to scroll then it save like your tableview.

same as 3rd section & 5th section

ezgif-3-2869c09935

Please help me

@maulikshah09
Copy link
Author

maulikshah09 commented Jun 14, 2017

Change this & test

  • (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    return 3;
    }

-(void)loadView
{
[super loadView];

const NSInteger numberOfTableViewRows = 1;

@ashfurrow
Copy link
Owner

Hi there, I'm not sure what's going on here. I'm afraid that I am very busy and I don't have time to trouble shoot individual projects, but I wish you all the best. If you find a solution, please let me know.

@varunchopraWB
Copy link

varunchopraWB commented Jul 3, 2018

It should just save the scroll location. Try checking out my modified forked version of Ashfurrows code if you like:
https://github.com/vnchopra/CustomCellTabledCollectionView

It also uses custom cells.

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