Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Replace static eventlistener dict with an instance per NSObject.
This is instance was added with objc_setAssociatedObject when the first listener was added.
- Loading branch information
Showing
3 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Node.js inspired EventEmitter for objective c. | ||
|
||
http://nodejs.org/docs/latest/api/events.html | ||
|
||
Some internals: | ||
http://oleb.net/blog/2011/05/faking-ivars-in-objc-categories-with-associative-references/ |