Objective-C newbie question. Given the following (fictional) code:
id mysteryObject = [anotherObject mysteriousMethod];
How can I determine
[mysteryObject class]
will get you the class object. However, generally you want to do something OOPy like check for conformance to some protocol or interface.