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

Using NSHashTable as set of weak objects #19

Open
almassapargali opened this issue Jul 17, 2014 · 1 comment
Open

Using NSHashTable as set of weak objects #19

almassapargali opened this issue Jul 17, 2014 · 1 comment

Comments

@almassapargali
Copy link

I think https://github.com/objc-zen/objc-zen-book#multiple-delegation part of article should mention NSHashTable as a way to store weak references without creating ZOCWeakObject class.

@luca-bernardi
Copy link
Contributor

For sure NSHashTable is one way todo that, another way is NSPointerArray (that is the one that I'm using using in my library https://github.com/lukabernardi/LBDelegateMatrioska).

I think we can expand the section to give more options. Feel free, If you want, to send a pull request with those improvements.

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

2 participants