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

How do I define properties on Mixins? #3

Closed
fatuhoku opened this issue Jul 1, 2015 · 1 comment
Closed

How do I define properties on Mixins? #3

fatuhoku opened this issue Jul 1, 2015 · 1 comment
Labels

Comments

@fatuhoku
Copy link

fatuhoku commented Jul 1, 2015

No description provided.

@huandu huandu added the question label Jul 2, 2015
@huandu
Copy link
Owner

huandu commented Jul 2, 2015

I've updated README file. Take a look.

In short, your can define properties use @property and implement getter and/or setter in module implementation. As module cannot declare any instance variable, you may have to use module_ivar macro to store values.

@huandu huandu closed this as completed Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants