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

use enum instead of struct for constants #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ostk0069
Copy link

@ostk0069 ostk0069 commented Nov 20, 2020

Summary

replace as enum instead of struct for constant values
reference using enum is better than struct: https://github.com/raywenderlich/swift-style-guide#constants

Requirements (place an x in each [ ])

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.

  • I've read and agree to the Code of Conduct.

  • I've written tests to cover the new code and functionality included in this PR.

@CLAassistant
Copy link

CLAassistant commented Nov 20, 2020

CLA assistant check
All committers have signed the CLA.

@ostk0069
Copy link
Author

Hi, this is my first time sending PR in this project.
Please let me know if I had any rules that I have not followed. I will fix as fast as I could.

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

Successfully merging this pull request may close these issues.

None yet

2 participants