|
LuxChat
2.0
Instant messenger for iOS
|
#import <JSQMessagesCollectionView.h>
Instance Methods | |
| (JSQMessagesTypingIndicatorFooterView *) | - dequeueTypingIndicatorFooterViewForIndexPath: |
| (JSQMessagesLoadEarlierHeaderView *) | - dequeueLoadEarlierMessagesViewHeaderForIndexPath: |
Properties | |
| id< JSQMessagesCollectionViewDataSource > | dataSource |
| id< JSQMessagesCollectionViewDelegateFlowLayout > | delegate |
| JSQMessagesCollectionViewFlowLayout * | collectionViewLayout |
| BOOL | typingIndicatorDisplaysOnLeft |
| UIColor * | typingIndicatorMessageBubbleColor |
| UIColor * | typingIndicatorEllipsisColor |
| UIColor * | loadEarlierMessagesHeaderTextColor |
The JSQMessagesCollectionView class manages an ordered collection of message data items and presents them using a specialized layout for messages.
| - (JSQMessagesLoadEarlierHeaderView *) dequeueLoadEarlierMessagesViewHeaderForIndexPath: | (NSIndexPath *) | indexPath |
Returns a JSQMessagesLoadEarlierHeaderView object for the specified index path that is configured using the collection view's loadEarlierMessagesHeaderTextColor property.
| indexPath | The index path specifying the location of the supplementary view in the collection view. This value must not be nil. |
JSQMessagesLoadEarlierHeaderView object. | - (JSQMessagesTypingIndicatorFooterView *) dequeueTypingIndicatorFooterViewForIndexPath: | (NSIndexPath *) | indexPath |
Returns a JSQMessagesTypingIndicatorFooterView object for the specified index path that is configured using the collection view's properties: typingIndicatorDisplaysOnLeft, typingIndicatorMessageBubbleColor, typingIndicatorEllipsisColor.
| indexPath | The index path specifying the location of the supplementary view in the collection view. This value must not be nil. |
JSQMessagesTypingIndicatorFooterView object.
|
readwritenonatomicstrong |
The layout used to organize the collection view’s items.
|
readwritenonatomicweak |
The object that provides the data for the collection view. The data source must adopt the JSQMessagesCollectionViewDataSource protocol.
|
readwritenonatomicweak |
The object that acts as the delegate of the collection view. The delegate must adpot the JSQMessagesCollectionViewDelegateFlowLayout protocol.
|
readwritenonatomicstrong |
The color of the text in the load earlier messages header. The default value is a bright blue color.
|
readwritenonatomicassign |
Specifies whether the typing indicator displays on the left or right side of the collection view when shown. That is, whether it displays for an "incoming" or "outgoing" message. The default value is YES, meaning that the typing indicator will display on the left side of the collection view for incoming messages.
If your JSQMessagesViewController subclass displays messages for right-to-left languages, such as Arabic, set this property to NO.
|
readwritenonatomicstrong |
The color of the typing indicator ellipsis. The default value is a dark gray color.
|
readwritenonatomicstrong |
The color of the typing indicator message bubble. The default value is a light gray color.
1.8.9.1