Reputation: 2010
I have a ViewController.h
and ViewController.m
and a MyViewController.xib
file.
Now I would like to create a new xib with this name: MyViewController_47.xib
for the iPhone 6.
After I created the new xib file, I set the File's Owner
to ViewController
and I don't see that the View outlet.
My ViewController.h
was inherited from BaseViewController
which is inherited from GAITrackedViewController
I really don't know how to connect the View to File's Owner
.
Upvotes: 0
Views: 2254
Reputation: 169
Select your nib file MyViewController_47.xib -> File's Owner -> In side panel select 3rd option (3rd tab) -> Custom Class (class -> your view controller name).
If this doesn't work then re-name your ViewController to NewViewController and try the same process.
Upvotes: 3