在Xcode控制台问题

时间:2015-04-28 13:57:29

标签: ios objective-c xcode 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

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

+ (MyVC *)_new; {

    MyVC *vc = [[MyVC alloc] initWithNibName:nil bundle:nil];
    return vc;
}

0 个答案:

没有答案