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

#import <JSQMessageBubbleImageDataSource.h>

Inheritance diagram for <JSQMessageBubbleImageDataSource>:
JSQMessagesBubbleImage

Instance Methods

(UIImage *) - messageBubbleImage
 
(UIImage *) - messageBubbleHighlightedImage
 

Detailed Description

The JSQMessageBubbleImageDataSource protocol defines the common interface through which a JSQMessagesViewController and JSQMessagesCollectionView interact with message bubble image model objects.

It declares the required and optional methods that a class must implement so that instances of that class can be display properly within a JSQMessagesCollectionViewCell.

A concrete class that conforms to this protocol is provided in the library. See JSQMessagesBubbleImage.

See also
JSQMessagesBubbleImage.

Method Documentation

- (UIImage *) messageBubbleHighlightedImage
required
Returns
The message bubble image for a highlighted display state.
Warning
You must not return nil from this method.
- (UIImage *) messageBubbleImage
required
Returns
The message bubble image for a regular display state.
Warning
You must not return nil from this method.

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