Skip to content

Should YLTableViewCell accept nil models? #28

@SSheldon

Description

@SSheldon

-[YLTableViewCell setModel:] is annotated as nullable, but I can't come up with a legitimate scenario where it would make sense to call setModel: with a nil model.

In fact, tableView:modelForCellAtIndexPath: is actually marked as nonnull, so that wouldn't be a source of nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions