LuxChat  2.0
Instant messenger for iOS
JSQMessagesAvatarImage.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 
22 #import "JSQMessageAvatarImageDataSource.h"
23 
31 @interface JSQMessagesAvatarImage : NSObject <JSQMessageAvatarImageDataSource, NSCopying>
32 
36 @property (nonatomic, strong) UIImage *avatarImage;
37 
41 @property (nonatomic, strong) UIImage *avatarHighlightedImage;
42 
46 @property (nonatomic, strong, readonly) UIImage *avatarPlaceholderImage;
47 
57 + (instancetype)avatarWithImage:(UIImage *)image;
58 
66 + (instancetype)avatarImageWithPlaceholder:(UIImage *)placeholderImage;
67 
77 - (instancetype)initWithAvatarImage:(UIImage *)avatarImage
78  highlightedImage:(UIImage *)highlightedImage
79  placeholderImage:(UIImage *)placeholderImage;
80 
81 @end
Definition: JSQMessageAvatarImageDataSource.h:33
Definition: JSQMessagesAvatarImage.h:31