Hacker News new | past | comments | ask | show | jobs | submit login

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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: