I wanna at certain point of the program to load different xib for iphone and for ipad but wanna to reuse most part of the code. how can I achieve this ?
Append ~ipad
or ~iphone
to the end of the file name. So SomeViewController~ipad.xib
or SomeViewController~iphone.xib
for instance.