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

Issue of enum description #2208

Closed
wuxudong opened this issue Feb 28, 2017 · 1 comment
Closed

Issue of enum description #2208

wuxudong opened this issue Feb 28, 2017 · 1 comment

Comments

@wuxudong
Copy link

For a common enum in swift3, I can print its name using following code.

enum definition

public enum Foo : Int {
    case F1
}

following code will get F1 in console

print(Foo.F1)

But when I try to print enums defined in Charts

I can only get HorizontalAlignment in console, which center is expected.

 print(Legend.HorizontalAlignment.center)

get Form in console, which circle is expected.

  print(Legend.Form.circle)

Why is that?

@wuxudong
Copy link
Author

I see @objc

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

1 participant