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

Conflict: Charts's Range conflict with Apple NSRange(Swift 3: Range). It makes me can not use the Apple's Range #1705

Closed
c-xiaoqiang opened this issue Oct 24, 2016 · 3 comments

Comments

@c-xiaoqiang
Copy link

No description provided.

@liuxuan30
Copy link
Member

Need more info. Please give details.

@MrMage
Copy link

MrMage commented Oct 28, 2016

I can confirm that Charts.Range obscures the Swift.Range type in files that have the Charts module imported. Not sure if this should be changed, though.

As a workaround, you should be able to use Swift.Range (or Foundation.NSRange, if that's really what you need).

@pmairoldi
Copy link
Collaborator

That's the point of modules. You can specify the module if the type is ambiguous.

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

4 participants