PFCollectionViewCell

@interface PFCollectionViewCell : UICollectionViewCell

The PFCollectionViewCell class represents a collection view cell which can download and display remote images stored on Parse as well as has a default simple text label.

  • A simple lazy-loaded label for the collection view cell.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) UILabel *_Nonnull textLabel;
  • The lazy-loaded imageView of the collection view cell.

    See

    PFImageView

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) PFImageView *_Nonnull imageView;
  • This method should update all the relevant information inside a subclass of PFCollectionViewCell.

    This method is automatically called by PFQueryCollectionViewController whenever the cell should display new information. By default this method does nothing.

    Declaration

    Objective-C

    - (void)updateFromObject:(nullable PFObject *)object;

    Parameters

    object

    An instance of PFObject to update from.