Skip to content

What happens if a class and a protocol exist with the same name? #10

@NSExceptional

Description

@NSExceptional

For example, UITableViewDataSource is a private class and a public protocol, so I assume what happens is the protocol gets dumped and then is overwritten when the class gets dumped, and the class dumped file attempts to import the protocol, which means the class will import itself.

Was this overlooked or is this behavior defined somewhere? And if so, why does the class still import itself...

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