i\'m working on a iOS5+ project (xcode 4.4.1 SDK 5.1)
i have this code inside a unit test:
[_appDelegate application:nil didFinishLaunchingWithOptions:ni
Converting a class name to string with NSStringFromClass will avoid problems with isKindOfClass... example:
if ([NSStringFromClass([AViewController class]) isEqualToString:NSStringFromClass([BViewController class])])