Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Should YLTableViewCell accept nil models? #28

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions