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

Move idMangle out into its own file. #171

Open
moosichu opened this issue Nov 29, 2017 · 0 comments
Open

Move idMangle out into its own file. #171

moosichu opened this issue Nov 29, 2017 · 0 comments

Comments

@moosichu
Copy link
Contributor

In GameGig2017.swift, the following extension exists:

extension String {
  func idMangle() -> String {
    return self.replacingOccurrences(of: " ", with: "-").lowercased()
  }
}

We should consider moving it out into its own file (with the name String+idMangle.swift).

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

1 participant