I'm working on a project and suddenly Xcode (Version 9.1 (9B55)) stopped showing the descriptions of classes, methods etc. in a Quick Help. I can see the same behaviour when I option-click on the classes and methods. Here how it looks, for example, when I tap on a viewDidLoad() method:
However, when I open another project, it works fine. Here is a screenshot from another project, when I tap on a viewDidLoad() method:
So, I think, this isn't an issue related to Xcode itself (or I'm wrong), but maybe I have accidentally broken something in my project. Anyway, I can't figure out what can cause this issue. Do you have any ideas?
Related
I have placed a few labels and image views inside a prototype cell of a tableview and added constraints.I have saved everything and shutdown my iMac and later I started working again but all the views & constraints in prototype cell are misplaced and I can't see them inside of the cell anymore but I can still see the objects listed I have added in Navigator window. I have faced the same issue earlier as well but then I thought maybe I forgot to save it or did something wrong. The issue raised again and I am using Xcode version 8.0. Please let me know any possible fixes for it or if I am doing wrong anywhere to have this issue.
Interface Builder freezes when I add a UIView with a UILabel in place of the title
I have tried disabling Autolayout, removed Storyboard reference from the project and add it back again.
Mac info:
I know I am late to the answer here, but I have been strugling with this problem for a while with Xcode 8 in El capitan having this same issue.
I take no credit for the solution, it goes to sroebert user in apple forums, you can see the original source here (you can Ctrl + f his username to get to his answer).
In my case, the problem presented only in specific nibs, not every nib nor storyboard. For my surprise, changing the Top Bar from Opaque Navigation Bar to Inferred made Xcode and Interface builder responsive once again.
It may or may not help you, but I hope it helps someone.
I've created this calculator interface in xcode:
Unfortunately, whenever I build the app in Xcode, the buttons automatically rearrange.
I can't figure out how to solve the problem - I assume it's something to do with AutoLayout in Xcode, but I can't find any solutions to the issue online.
I'm sure it's something very simple, I just can't see the solution!
I have downloaded Xcode 4.2 and I'm having problems viewing my project in the simulator. I'm getting a blank whit view when I run the simulator. I'm using a single view application. I created a interface .h, .m, .xib... I have connected all actions and outlets and saved everything. My thoughts are that I have overlooked something simple. again, I just started using Xcode 4.2 today. Help!
I am assuming you are not doing this
if((self = [super initWithNibName:#"MyClass" bundle:nil])) {
// do stuff here
}
This isn't enough information to tell what's wrong with your code.
That said, if create new project in XCode using the "Single View Application" template you can see how everything is hooked up and you may be solve your problem with a 'how is mine different?' comparison.
If that fails... post some code and we might be able to see the issue.
Edit: From your screenshot it looks like you are mixing storyboards and XIBs. If you are using storyboards, then you won't see .xib files. They are inside your storyboard. You can click on the storyboard file and edit the first XIB which loads when your app runs as well as create new ones. You can still do things the "old" way by just unchecking storyboards when you first create the app. On a side note, it is possible to mix storyboards and straight XIBs, but I don't think that's what you were going for.
At a guess, you created a project with storyboards, then added a XIB manually and you get a blank XIB. Try clicking on the storyboard and modifying the XIB in there. I bet they will show up when you run your app.
Can anyone help with Xcode 4.2 and the new tabbed application project? With Xcode 4.2, i create a new tabbed bar application, and it works as desired. However, it seems that instead of creating a new window and main.xib file that contains the tabviewcontroller, it sets everything in code within the appDelegate.
its easy to work with the tabbarcontroller via code and i have no problems setting up other tab items, however, i feel that my iOS development skills (they are new) are missing something as i would NOT even know if it was still possible to work with the tabviewcontroller graphically now in the way this project template has been setup.
Is there a way to work with the tabviewcontroller graphically? would i have to create a new main.xib file and link everything up to that? i'm still not strong enough in my skills to work out all the minute details but if that is the path that people suggest, i will look into it and try to figure it out.
I only want to work this out so i can fully understand whats going on now with Xcode 4.2, I have no unrelenting desire to only work with the tab bar controller graphically, but am curios as to why i cannot find it (or if i should)... just trying to get my head around how these things should be working.
You should use the Single-View Application template.
HEre you can add graphically that control