Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NSExceptional opened this issue Jul 12, 2016 · 0 comments
Open

Comments

@NSExceptional
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant