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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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