PFCollectionViewCell Class Reference

Inherits from UICollectionViewCell
Declared in PFCollectionViewCell.h

Overview

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.

  textLabel

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

@property (nonatomic, strong, readonly) UILabel *textLabel

Declared In

PFCollectionViewCell.h

  imageView

The lazy-loaded imageView of the collection view cell.

@property (nonatomic, strong, readonly) PFImageView *imageView

See Also

Declared In

PFCollectionViewCell.h

– updateFromObject:

This method should update all the relevant information inside a subclass of PFCollectionViewCell.

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

Parameters

object

An instance of PFObject to update from.

Discussion

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

Declared In

PFCollectionViewCell.h