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

navigate(urn: String), urn? #10

Closed
3lvis opened this issue Nov 16, 2015 · 4 comments
Closed

navigate(urn: String), urn? #10

3lvis opened this issue Nov 16, 2015 · 4 comments

Comments

@3lvis
Copy link
Collaborator

3lvis commented Nov 16, 2015

Is urn correct?

public static func navigate(urn: String, scheme: String = Compass.scheme) {
  let stringURL = "\(scheme)\(urn)"
  guard let url = NSURL(string: stringURL) else { return }

  UIApplication.sharedApplication().openURL(url)
}
@zenangst
Copy link
Contributor

@3lvis what do you mean correct? 😎

@3lvis
Copy link
Collaborator Author

3lvis commented Nov 16, 2015

I was wondering if it's a typo.

@3lvis
Copy link
Collaborator Author

3lvis commented Nov 16, 2015

oh, looks like it means URN. Hahah, nevermind.

@3lvis 3lvis closed this as completed Nov 16, 2015
@zenangst
Copy link
Contributor

🤓

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

2 participants