Introspection (introspection) is the ability of an object to reveal its own detailed information as a run-time object. NSObject protocols and classes define a number of introspection methods for querying run-time information so that they can be identified based on the characteristics of the object.
An introspective approach is used effectively during iOS development. Helps avoid mis-dispatching of messages, incorrectly assuming object equality, and similar issues. Judicious use of introspection can make object-oriented programs more efficient and robust.
The introspection methods in OC are:
1,iskindofclass: Checks whether this instance object is an object of a class, including inherited subclasses.
2,ismemberofclass: Checks whether this instance object is an object of a class, and does not include inherited subclasses.
3,respondstoselector: Checks whether this instance object can call this method
4,conformstoprotocol: Checks whether this instance object complies with a protocol and implements the @required method of this Protocol
Reference Blog: http://mikixiyou.iteye.com/blog/1743868
Probing into the introspection method in OC