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 to exclude all rows under a specified section? #7

Open
s1u opened this issue Feb 7, 2015 · 1 comment
Open

How to exclude all rows under a specified section? #7

s1u opened this issue Feb 7, 2015 · 1 comment

Comments

@s1u
Copy link

s1u commented Feb 7, 2015

For instance, a table view contains section 1, 2, 3..., there are several rows under each section, but their quantities are dynamic and different.

How to exclude section 2 and its all rows when using this?

@davidman
Copy link
Owner

davidman commented Feb 9, 2015

Hi iOsdev, right now there is no way to accomplish that "the easy way", the work around I suggest is to build the 3 sets of indexes and indexPaths for the sections, rows and footers that are of your interest, then you use this method:

  • (UIImage *)screenshotOfHeadersAtSections:(NSSet *)includedHeaderSections
    footersAtSections:(NSSet *)includedFooterSections
    rowsAtIndexPaths:(NSSet *)includedIndexPaths;

I will be thinking on a way to add your suggestion as a feature on a forthcoming release.

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

2 participants