LuxChat  2.0
Instant messenger for iOS
JSQMessagesCollectionViewDelegateFlowLayout.h
1 //
2 // Created by Jesse Squires
3 // http://www.jessesquires.com
4 //
5 //
6 // Documentation
7 // http://cocoadocs.org/docsets/JSQMessagesViewController
8 //
9 //
10 // GitHub
11 // https://github.com/jessesquires/JSQMessagesViewController
12 //
13 //
14 // License
15 // Copyright (c) 2014 Jesse Squires
16 // Released under an MIT license: http://opensource.org/licenses/MIT
17 //
18 
19 #import <Foundation/Foundation.h>
20 #import <UIKit/UIKit.h>
21 
26 
27 
33 @protocol JSQMessagesCollectionViewDelegateFlowLayout <UICollectionViewDelegateFlowLayout>
34 
35 @optional
36 
48 - (CGFloat)collectionView:(JSQMessagesCollectionView *)collectionView
49  layout:(JSQMessagesCollectionViewFlowLayout *)collectionViewLayout heightForCellTopLabelAtIndexPath:(NSIndexPath *)indexPath;
50 
62 - (CGFloat)collectionView:(JSQMessagesCollectionView *)collectionView
63  layout:(JSQMessagesCollectionViewFlowLayout *)collectionViewLayout heightForMessageBubbleTopLabelAtIndexPath:(NSIndexPath *)indexPath;
64 
76 - (CGFloat)collectionView:(JSQMessagesCollectionView *)collectionView
77  layout:(JSQMessagesCollectionViewFlowLayout *)collectionViewLayout heightForCellBottomLabelAtIndexPath:(NSIndexPath *)indexPath;
78 
86 - (void)collectionView:(JSQMessagesCollectionView *)collectionView didTapAvatarImageView:(UIImageView *)avatarImageView atIndexPath:(NSIndexPath *)indexPath;
87 
94 - (void)collectionView:(JSQMessagesCollectionView *)collectionView didTapMessageBubbleAtIndexPath:(NSIndexPath *)indexPath;
95 - (void)collectionView:(JSQMessagesCollectionView *)collectionView didLongTapMessageBubbleAtIndexPath:(NSIndexPath *)indexPath;
96 
111 - (void)collectionView:(JSQMessagesCollectionView *)collectionView didTapCellAtIndexPath:(NSIndexPath *)indexPath touchLocation:(CGPoint)touchLocation;
112 
120 - (void)collectionView:(JSQMessagesCollectionView *)collectionView
121  header:(JSQMessagesLoadEarlierHeaderView *)headerView didTapLoadEarlierMessagesButton:(UIButton *)sender;
122 
123 @end
Definition: JSQMessagesLoadEarlierHeaderView.h:52
Definition: JSQMessagesCollectionViewDelegateFlowLayout.h:33
Definition: JSQMessagesCollectionView.h:34
Definition: JSQMessagesCollectionViewCell.h:89
Definition: JSQMessagesCollectionViewFlowLayout.h:54