views:

15

answers:

1

When I first started learning XCode I remember hearing something about how it has cool features to inspect an object and get information about its class. Now I need to use these cool features. How can I use NSLog to get class information about an object and other cool information about an object.

+1  A: 

You should use the XCode Debugger! NSLog isn't meant for such tasks.

If you're a registered Apple Developer there're several free WWDC 2010 Videos that gives you a pretty good introduction into iPhone App Debugging.

And for your information: Apple doesn't allow any NSLog Output in App Store (Production) Apps.

Henrik P. Hessel