LuxChat  2.0
Instant messenger for iOS
Instance Methods | Properties | List of all members
JSQMessagesBubbleImage Class Reference

#import <JSQMessagesBubbleImage.h>

Inheritance diagram for JSQMessagesBubbleImage:
<JSQMessageBubbleImageDataSource>

Instance Methods

(instancetype) - initWithMessageBubbleImage:highlightedImage:
 
- Instance Methods inherited from <JSQMessageBubbleImageDataSource>
(UIImage *) - messageBubbleImage
 
(UIImage *) - messageBubbleHighlightedImage
 

Properties

UIImage * messageBubbleImage
 
UIImage * messageBubbleHighlightedImage
 

Detailed Description

A JSQMessagesBubbleImage model object represents a message bubble image, and is immutable. This is a concrete class that implements the JSQMessageBubbleImageDataSource protocol. It contains a regular message bubble image and a highlighted message bubble image.

See also
JSQMessagesBubbleImageFactory.

Method Documentation

- (instancetype) initWithMessageBubbleImage: (UIImage *)  image
highlightedImage: (UIImage *)  highlightedImage 

Initializes and returns a message bubble image object having the specified regular image and highlighted image.

Parameters
imageThe regular message bubble image. This value must not be nil.
highlightedImageThe highlighted message bubble image. This value must not be nil.
Returns
An initialized JSQMessagesBubbleImage object if successful, nil otherwise.
See also
JSQMessagesBubbleImageFactory.

Property Documentation

- (UIImage*) messageBubbleHighlightedImage
readnonatomicstrong

Returns the message bubble image for a highlighted display state.

- (UIImage*) messageBubbleImage
readnonatomicstrong

Returns the message bubble image for a regular display state.


The documentation for this class was generated from the following files: