Hello.
I have an extremely newbie question. I want to use the window that is declared in my Application Delegate .h file in different .h and .m files. In past projects I just declare the window again. My project is a little larger this time and I want to use the window that has already been declared for me in the App Delegate. In one of my other .h and .m files I did the following:
When I try to call a method with the window in my delegate I get an error saying the window is undefined. What am I doing wrong? Can I not use objects from other classes?
I have an extremely newbie question. I want to use the window that is declared in my Application Delegate .h file in different .h and .m files. In past projects I just declare the window again. My project is a little larger this time and I want to use the window that has already been declared for me in the App Delegate. In one of my other .h and .m files I did the following:
Code:
#import "The_Remember_ButtonsAppDelegate.h"
When I try to call a method with the window in my delegate I get an error saying the window is undefined. What am I doing wrong? Can I not use objects from other classes?