Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Fixed Swift class resolution when app name has spaces #104

Merged
merged 1 commit into from
Dec 22, 2015
Merged

Fixed Swift class resolution when app name has spaces #104

merged 1 commit into from
Dec 22, 2015

Conversation

Aggouri
Copy link
Contributor

@Aggouri Aggouri commented Aug 31, 2015

Swift class name resolution does not work when the App Name has spaces in it. The parser fails to find Swift classes and reports an error.

This pull request fixes the issue by replacing all occurrences of " " (space) in the App Name with "_" (underscore), when resolving the Swift class name.

@mikeger
Copy link
Contributor

mikeger commented Dec 22, 2015

@Aggouri interesting, thanks for the PR! And sorry for the late reply :)

Do you have a reference link for this, or you researched this on your own? I am wondering if it is only the case with spaces, or would also happen with some other special characters?

@Aggouri
Copy link
Contributor Author

Aggouri commented Dec 22, 2015

Hi, sorry I don't have a reference link. My app has a space in the name, so I found out the hard way. I'm afraid I don't remember where I found the info, but I guess it could happen with other characters :-(

@mikeger
Copy link
Contributor

mikeger commented Dec 22, 2015

@Aggouri that's fine, thanks

mikeger added a commit that referenced this pull request Dec 22, 2015
Fixed Swift class resolution when app name has spaces
@mikeger mikeger merged commit c319908 into ClassyKit:master Dec 22, 2015
@peantunes peantunes mentioned this pull request Jul 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants