Questions tagged [uitableviewsectionheader]
218 questions
-1
votes
1 answer
Dynamic number of uibuttons in uitableviewcell with sections swift4
dynamic number of uibuttons in uitableviewcell with sections
Hey guys I want to implement a UI like the one in the link above. The tableview has cells with sections and each section has a different number of uibuttons from the other. The number of…

Bob Sira Sira
- 1
- 4
-1
votes
1 answer
TableView Expand/Collapse with Swift 3
I did collapse/expand table cell in swift 3. But, I would like to add some padding bottom to the title header. In my screenshot, there is no padding between Title 1 and Title 2.
Another problem is that how can I move arrow image to the right? …

May Phyu
- 895
- 3
- 23
- 47
-1
votes
3 answers
Change UITableViewHeaderFooterView height at runtime
My target is to change the UITableView section header height at runtime. Let me be more specific. Default height is 44 but on scroll before touching the top, height will be 64. I have created a subclass of UITableViewHeaderFooterView and it's uses…

Tapas Pal
- 7,073
- 8
- 39
- 86
-1
votes
2 answers
Adding TableViewCell Section Header everytime a new cell is created that displays month and year created - swift
I'm trying to display a section header with the month and year the cell was created as the text in the section header. This is my code but it only displays one section header like so. Any idea why and how I can get it to display the year and month…

Nate Grant
- 13
- 2
- 5
-1
votes
1 answer
Swift UITableView Controller error: Type "ViewController" does not conform to protocol "UITableViewDataSource"
import UIKit
class ViewController:UIViewController {
var tableView:UITableView?
override func viewDidLoad() {
super.viewDidLoad()
tableView = UITableView(frame:view.bounds,style: .Plain)
if let theTableView =…

Macondo
- 369
- 1
- 3
- 6
-2
votes
2 answers
Facing design issue while applying corner radius to top and bottom cell only
I have taken UITableview section header and other cell to display contents but when it comes to give corner radius how can we achieve such layout with out having any pain.
I have tried to give corner radius to tableview header for from…

Anil Kukadeja
- 1,348
- 1
- 14
- 27
-2
votes
2 answers
viewForHeaderInSection stopped working in xcode 8
I have a tableView with 2 sections, the sections array is fixed with 2 elements. The headers for the sections showed fine as code shows below in Xcode 7. I just upgraded to Xcode 8, and the section headers don't show anymore, the code below doesn't…

user1529412
- 3,616
- 7
- 26
- 42
-3
votes
2 answers
How to create a multiple section tableview with horizontal scrolling like as below image?
I am trying to create a similar collection view as ![this][1]
[1]: https://i.stack.imgur.com/Wwqas.png image in tableview but i have no clue how to do it. My data is coming from server using web service.
How to achieve this ?

Hitendra Lariya
- 1
- 1