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.

Unregistering cell classes causes an assertion failure #24

Description

@SSheldon

The UITableView docs for registerClass:forCellReuseIdentifier: say that:

You may specify nil for cellClass if you want to unregister the class from the specified reuse identifier.

However, attempting that with YLTableView causes an assertion failure:

You can only use cells conforming to YLTableViewCell.

The assertion is triggered because, well, nil isn't a YLTableViewCell.

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