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

Notifier: NSObject #39

Open
farzadshbfn opened this issue Mar 12, 2017 · 1 comment
Open

Notifier: NSObject #39

farzadshbfn opened this issue Mar 12, 2017 · 1 comment

Comments

@farzadshbfn
Copy link

farzadshbfn commented Mar 12, 2017

I think it's a good idea to make Notifier subclass of NSObject.
this way, developers can retain Notifier object with protocol extensions too. (using objc_setAssociatedObject) .

I've described it here: http://stackoverflow.com/questions/38190702/how-to-use-objc-protocol-with-optional-and-extensions-at-the-same-time/42212943#42212943

@aleclarson
Copy link
Owner

aleclarson commented Aug 4, 2017

Can you give me a simple use case, with example code? 👍

Note: I'm not asking for implementation code, just how you expect to use the API.

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

2 participants