在Xcode控制台问题中打印实例

Mat*_*der 5 xcode objective-c ios xcode6.3.1

我在Xcode控制台中使用po命令来检查一些所需的信息.所以在我使用之后po vc我有这个:

(lldb) po vc
error: field '__FuncPtr' declared with incompatible types in different translation units ('void (*)(id)' vs. 'void (*)()')
error: instance variable '_afterAppearance' declared with incompatible types in different translation units ('__block_literal_generic *' vs. '__block_literal_generic *')
note: declared here with type 'void (*)()'
note: declared here with type '__block_literal_generic *'
error: 2 errors parsing expression
Run Code Online (Sandbox Code Playgroud)

po vc这是我的UIViewController.我在init之后在这段代码中检查了它:

+ (MyVC *)_new; {

    MyVC *vc = [[MyVC alloc] initWithNibName:nil bundle:nil];
    return vc;
}
Run Code Online (Sandbox Code Playgroud)