tadija / aeaccordion Goto Github PK
View Code? Open in Web Editor NEWSimple and lightweight UITableViewController with accordion effect (expand / collapse cells)
License: MIT License
Simple and lightweight UITableViewController with accordion effect (expand / collapse cells)
License: MIT License
Normally, collapsing a cell will allow the cell to still be visible within the viewing window.
However, if the # of cells is large, and the last cell is opened and then collapsed, the tableview will scroll up far enough to make the last cell not visible (causing the user have to scroll all the way back down to make the cell visible again).
Any suggestions on fixing this? It only applies to the last cell or two in a large table.
https://github.com/alexshive/AEAccordion
Auto formatted from XCode, can send pull request if needed.
I've added couple of textfields. But when i tapped on them. Cell collapse.
@tadija Is it possible to expand only one cell and automatically close the previously expanded cell (if there is one)?
Thanks!!!
The setExpanded function is not working in my case.
override func setExpanded(_ expanded: Bool, animated: Bool)
I recently used it if I set the first cell to expand, it gets proper given width and height. All the others cells did not get the given height and width and the expand collapse is not working.
Hi,
I have used this awesome AEAccordion, But running into an issue, we have an business requirement to collapse tableview cell only when tap on HeaderView. At present when we tap any where on expanded cell it collapse.
Can you please help me to solve this issue ?
Hello, i'm trying to get the header name of the selected row. But when i use didSelectRowAt indexPath
what i get is empty string. How can i implement didSelectRowAt
in this accordion?
hey
how can i disable Selection Style for expanded cell ?
hi i try to select cell without tap inside ex. self.setselect, tableview.selectrow()..
but the cell doesn't expand or collapse, anyone can help me?
Adding
pod 'AEXibceptionView', '~> 1.0.3'
pod 'AEAccordion', '~> 1.0.3'
to the pod file and doing a pod install
results in the following message:
[!] Unable to satisfy the following requirements:
- `AEAccordion (~> 1.0.3)` required by `Podfile`
Other pods seem to be working, so I was wondering if you have an issue in the podspec?
I have problems when the content of each cell has diferent sizes, what can I do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.