HN2new | past | comments | ask | show | jobs | submitlogin

Have you replied the wrong thread? I was not talking about message passing.


maybe because reflection/introspection is done via "Objective C's dynamic behaviours and message passing"?


Actually these are only convenience methods.

For example to get a class name you can either use [object className]. Or you can use object_getClassName()/directly access "anObject->class_pointer->name" without dispatching any messages. The same goes for any other runtime attribute of an object.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: