I’m creating an iPad version of an iPhone app (NOT universal). I created copies of all my .m .h and XIB files, and appended “iPad” to the end of each, as well as to all my classes. This of course was tedious and overly complex but I didn’t know a better way.
My problem: When I connect the iPad File’s Owner and First Responder to my iPad XIB (see image) Xcode connects the XIB shown below to the iPhone ViewController code and not the iPad ViewController code.

I then went to the code (see below) to see if I could instead connect straight from the code (with those little circles to the left of Outlet code lines) but to no avail. When I click and drag the line and let go over the XIB it doesn’t work. It doesn’t do anything.

How do I associate (for lack of a better word) my iPad XIB with my iPad code? The iPad XIB is already part of the target build, FWIW.
1 Answer