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 type properties once supported by Swift #6

Closed
beltex opened this issue Sep 17, 2014 · 1 comment
Closed

Use type properties once supported by Swift #6

beltex opened this issue Sep 17, 2014 · 1 comment

Comments

@beltex
Copy link
Owner

beltex commented Sep 17, 2014

Use type properties (class keyword - static const) once available in Swift. Would currently apply to the IOSERVICE_SMC & SMC_KEY_SIZE. See Swift InFlux for more.

  • Would allow for toInt32() & toString() to be type methods. See d62bb64
beltex added a commit that referenced this issue Dec 2, 2014
- Due to lack of type props for classes (for now). See
  #6
- This lets us make a few helper methods now type methods
beltex added a commit that referenced this issue Jan 2, 2015
- Better performance, don't need class overhead
- Fixes this - #6
@beltex
Copy link
Owner Author

beltex commented Jan 3, 2015

SMC is now a struct, which does have support for static properties.

@beltex beltex closed this as completed Jan 3, 2015
This issue was closed.
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