我有4種方法
在甲傳遞一個陣列中的目標C
-(void)Method1
{
}
類在B類
-(void)Method2
{
//calling method3 here
}
-(void)Method3
{
//calling method4 here
}
-(NsMutablearray*)Method4
{
return array;
}
我打電話從方法1方法2,並且它變爲高達方法4和方法4返回一個nsmutablearray。我怎樣才能得到我的方法1中的數組。
其實我的問題是method3是委託方法 - (void)requestFinished:(ASIHTTPRequest *)請求如何根據你的 – vishnu
如何改變返回類型如果它是一個委託...那麼你有其他3種方式......正如你所看到的,我提到了4種方式。 –
@vishnu:upvote yaar :) –