Re: how to actually edit source files in Xcode?
Re: how to actually edit source files in Xcode?
- Subject: Re: how to actually edit source files in Xcode?
- From: Alex Zavatone <email@hidden>
- Date: Wed, 23 Jan 2013 17:00:42 -0500
Hi Alex. This might help you out a bunch. At least I hope so.
When you open an Xcode project file, the project file is selected in the Project/file Navigator panel on the left of the screen. If you select the project file there should be a disclosure arrow that expands the project. I think the right arrow will expand the project if the project is selected in the file navigator panel. When the project is expanded, you can use the down arrow and all the project's code, graphics and other files and folders are displayed below. Once a header or method Objective C file is selected, its contents are displayed in the main center window to the right of the Navigator Panel and that is where the code is.
There are menu items that might really help you out that move the selection focus from one area to another. These are under the Navigate menu and start with "Move Focus To". Shortcuts are command option period and command option shift period.
Note that the Navigator panel on the left is more than one panel. Command 1, 2, 3, etcetera wll toggle between showing the Project Navgator, the Symbol Navigator, the Search Navigator, the Issue Navigator and so on.
Command 0 will toggle display of the Navigator panel for you.
There are also other somewhat hidden menus that appearright above the content display area that can help you hierarchically navigate your project's file structure, but it might be hard to invoke. Start with my suggestion and see if that does the trick.
Sorry for any typos, typing from an iPad. Good luck.
Sent from my iPad
On Jan 23, 2013, at 9:58 AM, Alex Hall <email@hidden> wrote:
> Hello all,
> I am pretty new to Xcode and Objective-c, so sorry that this is such a basic question: how do I get to the files I want or create new ones? I must also say that I am blind, relying on Voiceover (Apple's built-in screen reader), so keyboard commands or menu items are the only way I can access Xcode. Voiceover can move the mouse pointer to the object Voiceover is on, and then click or even drag (though dragging is sort of hit-or-miss) but that's all I can do with a mouse.
>
> Anyway, what I want to do is play around with capturing keyboard input directly in my window. So I want to set my view as the first responder and then override the keyUp, and maybe some other, events used in NSResponder (from which NSView inherits). Here's the problem: I can't find the actual code where the NSView instance is instantiated. Actually, I can't find any code at all. I have a table inside the mainMenu.xib group (itself in the Source Code group), and this table has appDelegate and all my UI stuff, but I can't seem to show the code at all. Yes, I can go view and edit the files in Finder, but it seems like I should be able to edit code in Xcode... I realize my terms might be confusing, since I am coming at this only able to relate how Voiceover organizes and labels the different elements of the screen, so let me know if I am not making sense and I'll see what I can do to explain this differently. Thanks in advance for any help.
>
>
> Have a great day,
> Alex (msg sent from Mac Mini)
> email@hidden
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden