2

I have a very strange issue with storyboard, hope someone here can give me some insights.

I am working on a project in two computers. However, when I copy and paste the whole the whole project from one computer to the other, the storyboard loses all of its UI elements in the viewControllers. It still compiles with the correct UIs.

enter image description here

What is the issue?

EddieHFu
  • 139
  • 1
  • 7
  • This is probably related to size classes. [See a similar question here](http://stackoverflow.com/questions/25700408/storyboard-view-elements-greyed-out) – Alladinian Oct 29 '14 at 19:20
  • This is related to the resources that have been added to the storyboard. You need to check the option to copy resources to the project space when the POP up to add resources appears in XCode. – Akhilesh Sharma Oct 29 '14 at 20:07
  • You should seriously consider using git (or any other centralized versioning system) for your projects. Copying an entire project back and forth is error-prone. – Ian MacDonald Oct 29 '14 at 20:11
  • @Alladinian Thank you very much for the response! I solved this problem by unchecking the "Use Size Classes" option. If you post the answer, I will accept it. Thanks again for the quick response! – EddieHFu Oct 29 '14 at 20:13
  • @IanMacDonald Yes, I just set it up. Thanks for reminding! – EddieHFu Oct 29 '14 at 20:20
  • @EddieHFu You're welcome! I'll mark this question as duplicate since it's essentially the same as the linked one. Meanwhile you could upvote my answer there if you think it was helpful. – Alladinian Oct 29 '14 at 20:58

0 Answers0