Hey guys,
I'm working on an Objective C project with multiple XIBs. To keep this project simple, I've put all of the processing within the myProjectAppDelegate file. To make the connection of all the IBOutlets to the view objects, I added an NSObject to each XIB and set its class to myProjectAppDelegate. I thought that it would link them all to the same instance of the AppDelegate, but it hasn't. It appears that it's creating a different instance for each of the XIB files. My question is, is it possible to link all three XIBs to the same instance of myProjectAppDelegate, or any class for that matter?
I'm working on an Objective C project with multiple XIBs. To keep this project simple, I've put all of the processing within the myProjectAppDelegate file. To make the connection of all the IBOutlets to the view objects, I added an NSObject to each XIB and set its class to myProjectAppDelegate. I thought that it would link them all to the same instance of the AppDelegate, but it hasn't. It appears that it's creating a different instance for each of the XIB files. My question is, is it possible to link all three XIBs to the same instance of myProjectAppDelegate, or any class for that matter?