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

Generated UIStoryboard extension is not compiled if there are storyboard identifiers matching view controller class names #48

Closed
vkaramov opened this issue Nov 2, 2015 · 1 comment

Comments

@vkaramov
Copy link

vkaramov commented Nov 2, 2015

I have a few storyboards in my project. In all of them, storyboard identifiers match view controller names, for example I have "MyViewController" identifier and MyViewController class.

@AliSoftware
Copy link
Collaborator

That's strange, I thought Swift was able to make the distinction between case MyViewController (as it should be used as .MyViewController at call site) and class MyViewController, given it should have everything needed at compile time to distinguish when you intend to reference the class and when you intend to reference the enum case.

I'd say you should maybe file a radar about that if that's indeed the case.

In the meantime, I'd be glad to have a PR to merge your commit fixing this (and a Unit Test to ensure it won't break again probably).

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

No branches or pull requests

2 participants