CollapsibleTableSectionViewController icon indicating copy to clipboard operation
CollapsibleTableSectionViewController copied to clipboard

Allow for some sections to be collapsible

Open lmsmartins opened this issue 8 years ago • 5 comments

Does this library allow for some sections to be collapsible and others don't? Or do all sections need to be collapsible?

lmsmartins avatar Aug 07 '17 17:08 lmsmartins

At the moment, the interface/functionality is limited, we can introduce new features like what you are requesting, thing is how we should design the interface to allow specific sections to be collapsed or expanded.

I think we can introduce a new protocol method like shouldCollapseSection(_ section: int) or something else that will override the "default" mechanism, that way people can control the logic easily. What do you think?

jeantimex avatar Aug 07 '17 18:08 jeantimex

Sounds great!

lmsmartins avatar Aug 09 '17 21:08 lmsmartins

Ok, I will work on it soon.

jeantimex avatar Aug 09 '17 22:08 jeantimex

I have done it using the library after implementing some custom changes. How i can contribute ? mar-13-2018 15-24-31

talhaqamar avatar Mar 13 '18 04:03 talhaqamar

Oh I also need it. I want to be only one section expandable by default

himanthmaddi avatar May 10 '18 13:05 himanthmaddi