Expandable Tableviewcell - Dropdown Menu using Stack Views - Xcode Swift 2017

preview_player
Показать описание
How to make a custom uitableview cell expandable, specifically to create a dropdown menu using stackviews.

Colors:




Creative Commons — Attribution 3.0 Unported— CC BY 3.0
Рекомендации по теме
Комментарии
Автор

Thanks for the tutorial. Just a heads up to anyone replicating this, I was getting an extremely annoying bug that I eventually was able to fix. You need to reset the button tags even if the cell already exists. This is probably because we are reusing the cells. This was my fix inside cellForRow:
if !cell.cellExists {
...
cell.open.tag = indexPath.row
...
} else {
cell.open.tag = indexPath.row
}

johntambunting
Автор

Man, it's been like more than 3 years but fucking thank you for this awesome tutorial

Sam-qwrd
Автор

Excellent content. Hoping to see the next one!

nicolascrespo
Автор

Great tutorial.
Been trying to convert this project to Objective C any chance you can help with this because I'm stuck.

miamia-woeh
Автор

Would this work if I inserted a collection view inside the cell instead of your second view? How to configure a collection view into it?

shadowkide
Автор

great tutorial dude, with nice interface color.

hizkia
Автор

Can you tell me how can i hide that cell when it's click by user

sanjeev
Автор

If number of cells is bigger, like 15+, cells are repeating, and it crashes... What to do?

Comy
welcome to shbcf.ru