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

#import <JSQMessagesCollectionViewFlowLayoutInvalidationContext.h>

Inheritance diagram for JSQMessagesCollectionViewFlowLayoutInvalidationContext:

Class Methods

(instancetype) + context
 

Properties

BOOL invalidateFlowLayoutMessagesCache
 

Detailed Description

A JSQMessagesCollectionViewFlowLayoutInvalidationContext object specifies properties for determining whether to recompute the size of items or their position in the layout. The flow layout object creates instances of this class when it needs to invalidate its contents in response to changes. You can also create instances when invalidating the flow layout manually.

Method Documentation

+ (instancetype) context

Creates and returns a new JSQMessagesCollectionViewFlowLayoutInvalidationContext object.

When you need to invalidate the JSQMessagesCollectionViewFlowLayout object for your JSQMessagesViewController subclass, you should use this method to instantiate a new invalidation context and pass this object to invalidateLayoutWithContext:.

Returns
An initialized invalidation context object if successful, otherwise nil.

Property Documentation

- (BOOL) invalidateFlowLayoutMessagesCache
readwritenonatomicassign

A boolean indicating whether to empty the messages layout information cache for items and views in the layout. The default value is NO.


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