Xcode 8 hangs / becomes unresponsive when opening storyboard - ios

I know this is a repeated question and the solution to this issue is by deleting some view and creating it again. But how do we decide by re design which view the storyboard issue will go. At the start I deleted the tab bar view from my app and then storyboard worked fine for some more days. Now I have so many sub views and controllers I don't know which one will help.
Thanks in advance

I was faced same issue.
Please do as follow might be work for you.
Just go to preference > General tab > Unchecked live issue tab
Same as below image:
After done above step storyboard is not refresh everytime.

Related

Storyboard corruption on file open

I am having a problem where my content is repeatedly being shifted to the right in the storyboard for multiple view controllers when I open the project. I have done nothing at this point, simply opened it. Further, undoing the modifications through git does nothing. I fix the problems and go about my day adding new features... the apps run fine in the phone and appear normal in the storyboard. However, when I open the project the next day, same thing happens and I have to fix everything again. Has anyone else experienced this issue, and what was your resolution to the problem?
I figured out what the problem was. On my first View Controller, I had some labels that had somehow become set to a width of zero. After I fixed them, and embedded them in a stack, the problem resolved itself. I have no idea how this screwed up several other view controllers; however, fingers crossed, the corruption hasn't happened again since I fixed it.
Well apparently there is just some display bug in Xcode. When I click on a new size class and click back, the elements are restored to their correct size. This was maddening, but apparently it's working fine now if I do this quick fix.

Storyboard Locked?

Hello and thank you for the help :)
I was working on xcode and everything was working fine.
I dont know what i did but suddenly the storyboard stopped working normaly.
What happens is every time i add a new ViewController or any item to the storyboard it freezes in the position where it was dropped i can add buttons and move the buttons in the view.. but i cant move the view itself on the storyboard.
The curious part is that now every project that i have even the new ones.. the same happens.. i dont know what i did and i tried eveyrthing i found on google to fix it.. but nothing worked. anyone has any idea of what it can be?
thank you very much,
Sérgio
Maybe there's some corrupted file in Xcode. Have you tried to delete and reinstall Xcode? Sometimes, that is a solution.
Good luck!
In addition to #ajpallares answer, did you also clean the cache?

Segue back button disappeared in iOS 9

Before iOS 9 was released, I've developed an app targeting iOS 8.4. I've used some UITableView connected each other via segue of kind "Show (e.g. Push)". It worked perfectly with the right behavior: every time I switched from a UITableView to another, the back button appeared, so the user is able to turn back to the previous scene; the back button appeared also from UITableView to UIViewController, using the same kind of segue. Now I have upgraded to the latest version of Xcode and targeting the app to iOS 9.0, I got this problem: now, if I go from UITableView to another UITableView, the back button doesn't appear anymore, but if I go from UITableView to UIViewController, the back button appears. I've seen other developers has had a similar problem (as you can see here, here and here), but I don't understand how they have solved (except for the third link, but it's not my case). Anyone knows how can I get back button working again? Thanks in advance
It looks like the guy who posted the second link is having the same problem as you. In a comment he said that the way he fixed it was getting rid of the extra navigation controllers:
No need put the navigation controller for each view. put the navigation controller start view only.
So that is what I would suggest doing. Only put a navigation controller on the first view controller. Get rid of all the others.
So, thanks to Caleb's and ogres' suggestions, I solved my problem in this way as you can see in this screenshot, I hope it helps anyone who will have the same problem!
If you have two UITableViews and you want connect them to each other, you just need one NavigationController.

Reorder View Controllers in UITabBarController in a Storyboard (XCode 4.6)

That issue again...
I have a UITabBarController in a Storyboard and want to reorder the Tabs there.
I tried all the suggested solutions I could find in previous posts (Simple Drag & Drop, Restart XCode, Open Storyboard as Source Code, touching left ear with right big toe while clapping hands behind back), of which none of them worked for me.
Does anyone have a working solution in XCode 4.6 for that?
EDIT:
I created a new project to see if there is any difference and, alas, Drag & Drop is working perfectly fine there. Any ideas/thoughts if I missed some build/storyboard/project setting (I couldn't see any differences so far).
You can always delete the "relationship" segues from the TabBarController to ViewControllers in the storyboard, then hook them back up one by one in the order you want.

Xcode Storyboard Serious Issue Going Blank?

I know there are a couple other questions on StackOverflow similar to this one, but they have different results and circumstances. I have 1 Storyboard in my iPhone App (Tab Bar Application). It has a total of about 7 different UIViewControllers. Whenever I do anything (delete something, add an object) it goes blank, and all I have are gridlines. I have to completely click out of the storyboard file–onto a code file–and click to open the storyboard file again to make the contents show up. This is really frustrating and it is making me take twice as long on my work.
Unlike other questions, I only have one tab open and I am not doing anything else with the application, so closing other tabs does not fix my issue. I tried everything, but there is no way that I am going to take the time to create a new Storyboard file and relink all of the connections.
If anyone else knows how to fix this, please assist me. It would be so greatly appreciated. If anyone else has this issue please comment so that I can get an idea of how many have this issue (and that I am not the only one).
you may have to adjust the w h elements at the bottom of the Storyboard ... They got reset for me to wAny hAny when I switched to wCompact hAny it worked out.

Resources