-
Notifications
You must be signed in to change notification settings - Fork 233
Catch didSelectRowAtIndexPath in ControllerView? #66
Comments
You might want to use this fork, which is more up-to-date: If you set your ControllerView to be the table's delegate, then you can implement didSelectRowAtIndexPath in the ControllerView. Or, you could use a gesture recognizer:
and
|
Thanks a lot. The Table delegate looks a good solution, but I will try both. From: eliburke [mailto:notifications@github.com] You might want to use this fork, which is more up-to-date: If you set your ControllerView to be the table's delegate, then you can implement didSelectRowAtIndexPath in the ControllerView. Or, you could use a gesture recognizer: // in viewDidLoad and
— |
The strange thing is that once I did: [bubbleTable setDelegate:self] in the viewDidLoad of ViewController.m (and added ,UITableViewDelegate> in ViewController.h), all the images were cut to the have the height of the text part of the bubble. Do you have an idea why this happened? From: eliburke [mailto:notifications@github.com] You might want to use this fork, which is more up-to-date: If you set your ControllerView to be the table's delegate, then you can implement didSelectRowAtIndexPath in the ControllerView. Or, you could use a gesture recognizer: // in viewDidLoad and
— |
It's been a while since I worked with the stock code, but you might take a look at heightForRowAtIndexPath in UIBubbleTableView to make sure it has the correct size of your image. If that fails, try setupInternalData in UIBubbleTableViewCell |
if I want to implement a didSelectRowAtIndexPath (to push a new View when a user selects a bubble) in UIBubbleTableView, how would you suggest to catch the event in ControllerView
The text was updated successfully, but these errors were encountered: