LuxChat  2.0
Instant messenger for iOS
Instance Methods | List of all members
<JSQMessagesCollectionViewCellDelegate> Protocol Reference

#import <JSQMessagesCollectionViewCell.h>

Inheritance diagram for <JSQMessagesCollectionViewCellDelegate>:
ESChatView JSQMessagesCollectionView

Instance Methods

(void) - messagesCollectionViewCellDidTapAvatar:
 
(void) - messagesCollectionViewCellDidTapMessageBubble:
 
(void) - messagesCollectionViewCellDidLongTapMessageBubble:
 
(void) - messagesCollectionViewCellDidTapCell:atPosition:
 
(void) - messagesCollectionViewCell:didPerformAction:withSender:
 

Detailed Description

The JSQMessagesCollectionViewCellDelegate protocol defines methods that allow you to manage additional interactions within the collection view cell.

Method Documentation

- (void) messagesCollectionViewCell: (JSQMessagesCollectionViewCell *)  cell
didPerformAction: (SEL)  action
withSender: (id)  sender 
required

Tells the delegate that an actions has been selected from the menu of this cell. This method is automatically called for any registered actions.

Parameters
cellThe cell that displayed the menu.
actionThe action that has been performed.
senderThe object that initiated the action.
See also
JSQMessagesCollectionViewCell
- (void) messagesCollectionViewCellDidTapAvatar: (JSQMessagesCollectionViewCell *)  cell
required

Tells the delegate that the avatarImageView of the cell has been tapped.

Parameters
cellThe cell that received the tap touch event.
- (void) messagesCollectionViewCellDidTapCell: (JSQMessagesCollectionViewCell *)  cell
atPosition: (CGPoint)  position 
required

Tells the delegate that the cell has been tapped at the point specified by position.

Parameters
cellThe cell that received the tap touch event.
positionThe location of the received touch in the cell's coordinate system.

This method is only called if position is not within the bounds of the cell's avatar image view or message bubble image view. In other words, this method is not called when the cell's avatar or message bubble are tapped.

See also
- messagesCollectionViewCellDidTapAvatar:
- messagesCollectionViewCellDidTapMessageBubble:
- (void) messagesCollectionViewCellDidTapMessageBubble: (JSQMessagesCollectionViewCell *)  cell
required

Tells the delegate that the message bubble of the cell has been tapped.

Parameters
cellThe cell that received the tap touch event.

The documentation for this protocol was generated from the following file: