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.
What is the issue?
Related
Wondering if anyone else has run into this problem and knows how to solve it. I have 3 vertical stack views, each consisting of a text view and label. They are all contained in one super stack view. The app runs fine for each device on the simmulator. When I connect my iphone and run on that device, I get missing constraints in the storyboard and the fields are all misaligned. The strange thing is that even with the alignment errors, the app runs fine in all the simulated devices and my actual iPhone, with the alignment being perfect - not as seen on the storyboard. I have tried the various options - update constraints, update frames, reset to suggested constraints, etc. - but it doesn't get back to where it should be. I am working with a copy of my project. I did File-Duplicate in the finder. It is really annoying because each time I have to backtrack.
Picture of errors and messy screen
I was researching similar problems on the web and came across one post/article that mentioned downloading something called "Duplicate" to copy folders from the finder vs directly from the finder.
I downloaded it and followed instructions to copy the same folder my problem app was copied from. I ran it on all the simulator devices and my own iPhone without any issues. I'm hoping the problem was that everything wasn't copied over correctly from finder the first time and that now, using Duplicate, it is and it resolves the problem. I'll add to this if the subject problem emerges again.
link to the post I found
Well, I have been facing this issue from long time , the storyboard specifically for iPad, compiles very slowly.
NOTE:- There is no auto-layout issues in the project and the project contains two storyboard one for iPhone and another for iPad. iPhone's storyboard compiles very fast I guess there are few scenes or view controllers are there, but the iPad's storyboard contains 40 scenes or view controllers and more than 30 segues connected to each other.
Here is the screenshot:
Here is my mac-mini specification:-
I don't know why I am facing this issue . It will be helpful if
anybody knows how to make the compilation faster or is it possible to
do so?
I cannot upgrade the RAM or processor, as my other iPhone project's
storyboard compiles fast and don't need to do so.
P.S This question is not related programming, I have already posted it in Super User site but found no answer yet.If any one flag the post as inappropriate or not related programming then I will be glad if you let me know where I can post the question to get some feedback on it.
When I open storyboard, the XCode shows that it's building right now, I suppose because of IBDesignable I use.
So it never got success, XCode stuck:
I tried to open just storyboard file with opening entire project, so seems it works, but when I try to close it, it's starting stucking again, I can't close it, and it every time in my process.
I tried restarting my mac, deleting xcuserdata, but nothing help to me.
It's upset because I written entire project using storyboards and now I can't continue to work on the project =(
One more when I try to open another file and I am in storyboard right now, like selecting a class or project file it also stuck. (switching from storyboard)
I am trying to understand an app and I'd like to be able to see a visual representation of the project (without running the simulator). It appears the developer didn't use a storyboard in building the app. Is this common? What is a good way to see the views without running the project?
Thanks I'm a pretty serious iOS noob :)
If there's no storyboard, then watch out for .xib file. Those files contain visual representation of a particular class or view controller.
I have a weird problem
I made some changes in storyboard iPad, but the changes weren't effected, so I tried to delete the storyboard, and the project STILL COMPILED.
Anyone tell me why?