如何在一个方法中在数组中插入值,并在其他方法中使用此完整的值数组。
-(void)firstMethod {
NSMutableArray *array = [[NSMutableArray alloc] init];
../// add some value in array.
}
-(void)secondMethod {
..// here i want to work with array which consist of value from first method.
}