Programatically create UITableView with static Cells

PatrickLongPatrickLong USMember ✭✭

I want to use a couple of custom Table Cells in the header of a UITableView. To do this I thought I would use a custom UiTableViewSource. Whilst my UiTableViewSourcedoes get called i only get calls for

  • RowsInSection
  • NumberOfSections
  • TitleForHeader

GetCell is never called? Any ideas why?

Best Answer

Answers

  • DannyCDannyC US ✭✭✭✭

    @PatrickLong are you passing any data to the TableView.Source? Without being able to see your code it's hard to tell what you're missing.

  • PatrickLongPatrickLong USMember ✭✭

    I am not passing any data to the ViewSource because its all static

  • PatrickLongPatrickLong USMember ✭✭

    How do I do Static UITableView then without Storyboard?

Sign In or Register to comment.