hi there
I'm new in programming Objectiv-C and Cocoa. To learn it I decided to do a little project where I have some questions now.
I created a connection to a server with NSStream object which results in two objects: an outputStream object and an inputStream object. These two objects are created in my AppDelegate.m file in applicationDidFinishLaunching method at the startup of my application. In this file I can use the objects as I want. But to use a UI I also had to create a ViewController file where I want to use these objects now. How can I create a link between these two files?
I'm new in programming Objectiv-C and Cocoa. To learn it I decided to do a little project where I have some questions now.
I created a connection to a server with NSStream object which results in two objects: an outputStream object and an inputStream object. These two objects are created in my AppDelegate.m file in applicationDidFinishLaunching method at the startup of my application. In this file I can use the objects as I want. But to use a UI I also had to create a ViewController file where I want to use these objects now. How can I create a link between these two files?