Get a view controller's class name as string
cocoa-touch, introspection, ios, objective-c
Solution
NSStringFromClass
Returns the name of a class as a string.
NSString * NSStringFromClass (
Class aClass
);
Problem
If I have a `UIViewController` subclass, how can I get the class name as string? I've tried doing `[vc class]`, but this returns a `Class` object, not an `NSString`.