LuxChat  2.0
Instant messenger for iOS
Properties | List of all members
JSQMessagesCollectionViewLayoutAttributes Class Reference

#import <JSQMessagesCollectionViewLayoutAttributes.h>

Inheritance diagram for JSQMessagesCollectionViewLayoutAttributes:

Properties

UIFont * messageBubbleFont
 
CGFloat messageBubbleContainerViewWidth
 
UIEdgeInsets textViewTextContainerInsets
 
UIEdgeInsets textViewFrameInsets
 
CGSize incomingAvatarViewSize
 
CGSize outgoingAvatarViewSize
 
CGFloat cellTopLabelHeight
 
CGFloat messageBubbleTopLabelHeight
 
CGFloat cellBottomLabelHeight
 

Detailed Description

A JSQMessagesCollectionViewLayoutAttributes is an object that manages the layout-related attributes for a given JSQMessagesCollectionViewCell in a JSQMessagesCollectionView.

Property Documentation

- (CGFloat) cellBottomLabelHeight
readwritenonatomicassign

The height of the cellBottomLabel of a JSQMessagesCollectionViewCell. This value should be greater than or equal to 0.0.

See also
JSQMessagesCollectionViewCell.
- (CGFloat) cellTopLabelHeight
readwritenonatomicassign

The height of the cellTopLabel of a JSQMessagesCollectionViewCell. This value should be greater than or equal to 0.0.

See also
JSQMessagesCollectionViewCell.
- (CGSize) incomingAvatarViewSize
readwritenonatomicassign

The size of the avatarImageView of a JSQMessagesCollectionViewCellIncoming. The size values should be greater than or equal to 0.0.

See also
JSQMessagesCollectionViewCellIncoming.
- (CGFloat) messageBubbleContainerViewWidth
readwritenonatomicassign

The width of the messageBubbleContainerView of a JSQMessagesCollectionViewCell. This value should be greater than 0.0.

See also
JSQMessagesCollectionViewCell.
- (UIFont*) messageBubbleFont
readwritenonatomicstrong

The font used to display the body of a text message in a message bubble within a JSQMessagesCollectionViewCell. This value must not be nil.

- (CGFloat) messageBubbleTopLabelHeight
readwritenonatomicassign

The height of the messageBubbleTopLabel of a JSQMessagesCollectionViewCell. This value should be greater than or equal to 0.0.

See also
JSQMessagesCollectionViewCell.
- (CGSize) outgoingAvatarViewSize
readwritenonatomicassign

The size of the avatarImageView of a JSQMessagesCollectionViewCellOutgoing. The size values should be greater than or equal to 0.0.

See also
JSQMessagesCollectionViewCellOutgoing.
- (UIEdgeInsets) textViewFrameInsets
readwritenonatomicassign

The inset of the frame of the text view within a JSQMessagesCollectionViewCell.

The inset values should be greater than or equal to 0.0 and are applied in the following ways:

  1. The right value insets the text view frame on the side adjacent to the avatar image (or where the avatar would normally appear). For outgoing messages this is the right side, for incoming messages this is the left side.
  2. The left value insets the text view frame on the side opposite the avatar image (or where the avatar would normally appear). For outgoing messages this is the left side, for incoming messages this is the right side.
  3. The top value insets the top of the frame.
  4. The bottom value insets the bottom of the frame.
- (UIEdgeInsets) textViewTextContainerInsets
readwritenonatomicassign

The inset of the text container's layout area within the text view's content area in a JSQMessagesCollectionViewCell. The specified inset values should be greater than or equal to 0.0.


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