Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

How does one subscribe a custom cell's FORMBaseFieldDelegate to the conforming class FORMDataSource? #573

@jasper-chan

Description

@jasper-chan

Hello,

Recently we've been creating our own custom cell classes. I subclassed them off of the FORMBaseFieldCell class and I would like to make use of the delegate in there. What is the recommended way for someone to set the delegate found in FORMBaseFieldCell to the conforming class FORMDataSource without directly modifying the source code?

EDIT: So far, in the block configureCellForItemAtIndexPathBlock, I cast the collectionView.dataSource object as an id. Is this the best way to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions