Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert xib to storyboard? [duplicate]

I have downloaded Rotating Wheel Control project. It is a XCode project that uses xib and I would like it to use Storyboards. Is there a good way to move xib "Rotating Wheel Control" files into the Storyboard?

Does anyone have experience with move xib files into Storyboard?

I try to do the best I can, but when I run the program I get a NSInvalidArgumentException.

Can anyone explain, How could I can fix this problem?

like image 951
Neru-J Avatar asked Aug 02 '12 20:08

Neru-J


1 Answers

I think "no" is the short answer. I raised a Radar with Apple last year but they've not done anything yet!

You can sometimes open the XIB and copy and paste the controls into your Storyboard, but the formatting is sometimes wrong and you still have to adjust the outlets and actions manually.

There is no reason why you can't use both Storyboards and XIBs in a single project; maybe that's the best approach in the short term.

like image 111
Stephen Darlington Avatar answered Sep 21 '22 09:09

Stephen Darlington