{"action":"created","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/945","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/945/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/945/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/945","id":70501072,"number":945,"title":"checking if delegate responds to method in jsq_handleTapGesture of JSQMessagesCollectionViewCell","user":{"login":"hermanccw","id":1000084,"avatar_url":"https://avatars.githubusercontent.com/u/1000084?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanccw","html_url":"https://github.com/hermanccw","followers_url":"https://api.github.com/users/hermanccw/followers","following_url":"https://api.github.com/users/hermanccw/following{/other_user}","gists_url":"https://api.github.com/users/hermanccw/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanccw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanccw/subscriptions","organizations_url":"https://api.github.com/users/hermanccw/orgs","repos_url":"https://api.github.com/users/hermanccw/repos","events_url":"https://api.github.com/users/hermanccw/events{/privacy}","received_events_url":"https://api.github.com/users/hermanccw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-23T20:07:36Z","updated_at":"2015-04-23T20:23:08Z","closed_at":null,"body":"This is not a bug per se but it makes it hard to implement my use case.  reference code here: https://github.com/jessesquires/JSQMessagesViewController/blob/develop/JSQMessagesViewController/Views/JSQMessagesCollectionViewCell.m#L316-L329\r\n\r\nI implemented my own MediaItem which shows a custom mediaView.  When a user tap on the custom MediaView, I want to act differently depending on where was tap.  In the current scenario, when a user tap on my custom MediaView, it is calling \"messagesCollectionViewCellDidTapMessageBubble\" even though I did not implement that method in my controller.  What I wanted is to have it call \"messagesCollectionViewCellDidTapCell:atPosition:\" so that I can act accordingly.\r\n\r\nSimply adding a respondsToSelector would do the trick I think."},"comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments/95709505","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/945#issuecomment-95709505","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/945","id":95709505,"user":{"login":"hermanccw","id":1000084,"avatar_url":"https://avatars.githubusercontent.com/u/1000084?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanccw","html_url":"https://github.com/hermanccw","followers_url":"https://api.github.com/users/hermanccw/followers","following_url":"https://api.github.com/users/hermanccw/following{/other_user}","gists_url":"https://api.github.com/users/hermanccw/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanccw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanccw/subscriptions","organizations_url":"https://api.github.com/users/hermanccw/orgs","repos_url":"https://api.github.com/users/hermanccw/repos","events_url":"https://api.github.com/users/hermanccw/events{/privacy}","received_events_url":"https://api.github.com/users/hermanccw/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T20:23:08Z","updated_at":"2015-04-23T20:23:08Z","body":"hm.... spoke too soon.  seems like it it calling a delegate in JSQMessageCollectionView, I guess it doesn't hurt to call both \"messagesCollectionViewCellDidTapMessageBubble\" and \"messagesCollectionViewCellDidTapCell\" at the same time. @jessesquires what do you think?"}}