-
Notifications
You must be signed in to change notification settings - Fork 36
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
Forward isKindOfClass:
to distant object?
#155
Comments
If we forward |
Good question. I don’t know the answer, but perhaps we can look at how Apple does it? |
It is a little convoluted to digest, this is one of the sources we used to learn in the past. You are welcome to take a look and send the PR, I am happy to review. |
Findings
|
Great findings, thanks! What do you think of implementing it in eDO? To encode a the other question, what is class version, how do we make sure it's well maintained? |
Thanks a lot for looking into this @fumoboy007. If class_getName can work across processes, then this would work for the cursory isKindOfClass comparison. My worry is how this would differ from an actual Class comparison itself. |
Hmm not sure if we can really guarantee compatibility across processes. FWIW, Apple/GNUstep’s implementation just calls |
After thinking about it, it should be fine because we are checking the
It will be great if you can implement it. Either Aditya, me or someone from our team can review it. There are another two things you might need to take a look:
|
Is there a reason we are not forwarding
isKindOfClass:
to the distant object? I think that would make the most sense since users are more likely to want to check the class of the actual object than of the proxy. FWIW,NSDistantObject
forwards.The text was updated successfully, but these errors were encountered: