|
LuxChat
2.0
Instant messenger for iOS
|
#import <JSQMessageAvatarImageDataSource.h>
Instance Methods | |
| (UIImage *) | - avatarImage |
| (UIImage *) | - avatarHighlightedImage |
| (UIImage *) | - avatarPlaceholderImage |
The JSQMessageAvatarImageDataSource protocol defines the common interface through which a JSQMessagesViewController and JSQMessagesCollectionView interact with avatar 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 JSQMessagesAvatarImage.
|
required |
You may return nil from this method if this does not apply.
|
required |
You may return nil from this method while the image is being downloaded.
|
required |
nil. For example, if avatarImage needs to be downloaded, this placeholder image will be used until avatarImage is not nil.If you do not need support for a placeholder image, that is, your images are stored locally on the device, then you may simply return the same value as avatarImage here.
nil from this method.
1.8.9.1