Qt/C++ ( Y& O' F& W, h( }4 } * w$ G' @& [% o! t- H8 KQt framework extends C++ with its meta-language and provides reflection ability of member/method reference and query by name for Qt objects with QMetaObject class, which contains meta-information about the Qt objects.
Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.
7 d% `$ {; _7 Q% f/ I# E- c( } U貌似并不能直接支持,但是可以实现类似效果。: c- R N8 N# Q9 r' b c++ reflection: v6 ]/ t/ \( q ?* I% P# f