jjzjj

ios - 2 个按钮操作中 1 个类中的可变数组

我通过1个IBAction生成了一些不可变数组,但是当我从同一类中的另一个IBAction引用它们时,我无法检索答案。我在第一个Action中创建的部分代码是:所有数组都在第一个IBAction中初始化。这是vType的示例:NSMutableArray*vType=[[NSMutableArrayalloc]init];//GathercomponentsforValueCalculations//NSLog(@"myInvcount(h)=%luandcatDetailcount(g)=%lu",(unsignedlong)[myInvcount],(unsignedlong)[c