I\'m able to expand and collapse cells but i wanna call functions (expand and collapse) inside UITableViewCell to change button title.
import UIKit clas
In MyTicketsTableViewController class, inside cellForRowAtIndexPath datasource method add target for the button.
MyTicketsTableViewController
cellForRowAtIndexPath
cell.expandButton.addTarget(self, action: "expandorcollapsed:", forControlEvents: UIControlEvents.TouchUpInside)