i cant find how to turn on Assistant Editor in XCode 4.
On tutorial examples i see special button http://i.stack.imgur.com/yUAYe.png
in Editor panel:
http:// i.stack.imgur.com/yspVC.png
But i cant find Editor panel in my copy of XCode:
http://i.stack.imgur.com/uwdnm.png
Something going wrong, i think.
What can i do to switch to split screen mode (assistant editor)?
P.S.: Sorry for links on images instead of real one. And for one broken link, its all about spam prevetion system and lack of reputation.
It looks like you are running Xcode 3, not Xcode 4.
You are not running XC4 in that screen shot.
Related
I'm following a walkthrough on designing mac apps using xamarin and c# and at one point the tutorial hands off to xcode's interface builder for creating the UI. I've not used xcode's interface builder before so this is all new to me.
I can see in the tutorial that the version of xcode they're using is different (older) than the one I have, so the tools look a bit different but seem to work the same.
At one point I'm asked to open the Assistant Editor so that I can have a split of the interface builder and the code. According to the tutorial after opening the assistant editor I should see a file open automatically for me:
But when I open the assistant editor in the interface builder not only do I not get my file automatically selected for me, but I can't go to the drop down menu to navigate to it manually.
I know the file in question ViewController.h exists and xcode is aware of it because I can see it in the main code editor window:
But for some reason I can't get it in the assistant editor.
I wouldn't be surprised if this is just due to me not clicking on the right thing or opening the assistant editor incorrectly, but I can't seem to figure out or find an answer as to how I should be opening it.
Any help?
Workaround
So I haven't figured out how to fix the issue, but I did figure out a work around.
I figured that if the assistant editor was just a quick window to the code so you can control drag from the UI Editor to the code then I could probably do the same from the UI Editor window to the actual editor window.
And it works. It's a bit cumbersome but at least it gets me through. If someone has the answer I'm still happy to give a checkmark :)
EnvironmentXcode 8MacOS 10.11.6MacBook Air (circa 2013)
ProblemI've noticed recently that the Editor in Xcode seems to periodically scroll-up on its own. Which I, at least, find very annoying.
I've looked at a couple of other postings:
Xcode scrolls text while typing
XCode auto-scroll when pressing Command after a text selectionBut neither of them seem to provide a solution for me, as I'm not pressing the Command key and I'm not using multiple fingers on the touch-pad.
It seems to happen most frequently when I'm working on code near the bottom of the file, I haven't been able to narrow down the cause-and-effect scenario more than that just yet.
Query
Has anyone else noticed this?
Has anyone figured out a way to stop it?
Is there a reasonable way to report this to Apple? There doesn't seem to be an Xcode section on the http://www.apple.com/feedback/ site.
Try to disable your XCode theme if you have one. We ended up with that bug by doing this trick!
For XCode 10.1 changing the font size to 12 for the selected theme did the trick.
After upgrading to Xcode 8, i cannot use the Quick Help inspector anymore.
For example, i have a saveNewNote function in my MainViewController.swift file. If i click the function title somewhere in the code, it allows quick scrolling to that function by clicking the link in the attached image. It is very convenient if you have a large number of lines in your code.
Restart Xcode and MacBook did not help.
Is there some settings needed to be changed to be able to use this feature again?
I'm using Xcode 6. For some reason the Xcode menu toolbar at the top with everything from File to Navigate and Debug is missing. I've managed without so far but would like to find out if there is an easy fix. Not sure if it was there when I first installed. Appreciate your help.
Try View > Show Toolbar to make it re-appear. If this is not the toolbar you miss, please post a screenshot of your current Xcode interface.
Before:
Okay so I solved this one. It wasn't showing as I had made the window smaller to use alongside online tutorial. When I opened it in full window mode the top toolbar was back.
First, the links are to screen shots of my "problem". Stackoverflow would not let me post images b/c I don't have at least a 10 reputation.
I am not sure what I did.
Shut down my computer, I think there was an OS X update pending that installed. When I went back to my Xcode project it presented the normal screen
https://docs.google.com/file/d/0BzpqJUv4HwzCbldESkRnZHR0Tk0/edit
But then when I went to open it up the following screen w/o the editor or any of the normal layout opened up.
https://docs.google.com/file/d/0BzpqJUv4HwzCZ2ZJOF9fSzAybUk/edit
I tried tinkering with the layout and view screens, but no real help. Not sure what happened. Any help would be most appreciated. Basically, it seems like I am missing the editor and utilities panes.
Thanks,
You see that little button with the left arrow and two vertical lines at the right upper end of the "Groups and files" view? Click and drag it left, see it this can help.