I know that this question was asked several times before but none of those solutions don't work in my case.
I have two classes: in the first one (class A) i get data from the user and contain it in the property:
@property (nonatomic, retain) NSMutableArray *firstClassArray;
And synthesize it. At the same time, i have class B, where a property is taking place.
@property (strong, nonatomic) NSMutableArray *games;
I tried do this in the ViewDidLoad:
CLassA *a = [[ClassA alloc] initWithNibName:@"ClassA" bundle:nil];
games = a.firstClassArray;
and this
CLassA *a = [[CLassA alloc] init];
a.view;
games = a.firstClassArray;
All in all, i need to get an information from firstClassArray and store it in games array to show in TableView. How can i do it?
What is going wrong in my code?
Thanks!