-1
當我從另一個調用類的方法,我得到的錯誤:EXC_BAD_ACCESS錯誤
(TREAD) : EXC_BAD_ACCESS.
這裏我的方法在A級:
-(NSString*) parse: (NSString *) filePath
{
////do something
codeWriter* cd;
cd = [[codeWriter alloc]init];
NSString* asmLine = [cd getAsmLine:lineContent]; ////here is my problem
}
誰能幫助我理解的錯誤是什麼?
謝謝
是'codewriter'自己的類? – 2013-04-11 20:15:27
請提供相關數量的源代碼來理解上下文。 – 2013-04-11 20:50:25
是的,codeWriter是我自己的類。什麼提供給你? – shanit 2013-04-11 21:08:34