How do I pass the section of the current clicked cell in a UITableView?
for example, lets say I have:
- Category
- post
- post 2
- post 3
Where category is the section header and the bullets for posts are the cells in the UITableView.
I want to pass to the new view the cell label AND the section.
I know how to pass the label I just can't seem to get the current section
Or, Is there a way to assign an extra value to each cell, like the ID from the database?
Short and Sweet, please direct me to somewhere if possible, I am new to programming so all help will do.