You'll need to structure your code in a similar way that the Window Template does. The file structure that template uses when the "Universal" option is ticked at creation is.
You'll need to structure your code in a similar way that the Window Template does. The file structure that template uses when the "Universal" option is ticked at creation is: App Name/ AppNameAppDelegate iPhone/ AppNameAppDelegate_iPhone MainWindow_iPhone. Xib iPad/ AppNameAppDelegate_iPad MainWindow_iPad.
Xib The iPhone and iPad AppDelegates are simply subclasses of the AppNameAppDelegate @interface YourAppNameAppDelegate_iPhone : YourAppNameAppDelegate {} In your target summary you can set what . Xib file is initially loaded for each device. It is called the "Main Interface" and has a pulldown menu.
Quite frankly, if you're wanting to do a universal app (iPhone + iPad) it's probably easier just to start with the Window Template and add in your view controllers instead of starting with the View template and trying to change it up.
Thanks for the specified answer. I think I'm not getting something very basic here - if I set the "Main Interface" to the iPhoneViewController. Xib and iPadViewController.
Xib the application crushes. Considering that I wish to have 1 View Controller (h and m files) for both iPhone and iPad xib, I'm not clear regarding to where I should write which code line/s to have this distinction. – Ohad Regev Jul 3 at 10:27.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.