Is there a way to change the height of the TTTableMoreButton without creating a new class ItemClass for TTTableMoreButton and return that class in the function
- (Class)tableView:(UITableView *)tableView cellClassForObject:(id)object
Thanks a mil. Do let me know if it is not possible.
Cheers,
Mickey
Keep in mind that you won’t be changing the height of the
TTTableMoreButton, but will rather be changing the height of theTTTableMoreButtonCellthat is associated with theTTTableMoreButton. The correct way to do what I think you’re trying to achieve is to create a subclass of bothTTTableMoreButtonandTTTableMoreButtonCell, override thefunction in your
TTTableMoreButtonCellsubclass, and then inside of your data source, be sure to map between the two classes as you yourself mentioned like:HTH