I am so irritated right now! Lol.
I have 3 classes. My first class, (AppDelegate) has an NSMutableArray called list.
This 'list' is very important as it is needed in not only the 2nd class but the 3rd class as well.
The problem is..the 2nd class calls the first class making its own instance of the first class.
The 3rd class...also calls the 1st class, making ITS own instance of the first class.
I need the 2nd and 3rd class to have the SAME instance of the first class..how can I do that?
Thanks,
- Zac
I have 3 classes. My first class, (AppDelegate) has an NSMutableArray called list.
This 'list' is very important as it is needed in not only the 2nd class but the 3rd class as well.
The problem is..the 2nd class calls the first class making its own instance of the first class.
The 3rd class...also calls the 1st class, making ITS own instance of the first class.
I need the 2nd and 3rd class to have the SAME instance of the first class..how can I do that?
Thanks,
- Zac