Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bobber205

macrumors 68020
Original poster
Nov 15, 2005
2,182
1
Oregon
Ok. XCode 3.0 is a great tool. I love it so far.

But when I Run my program, I have to manually click on the window each time because it ends up at the "all in one" window.

This is kind of a pain b/c I am used to Visual Studio. Is there something I am doing wrong?

Also how I keep my hand off the mouse to get to different windows? If I am editing my .m file I have to search with my mouse for the .h file that I have open.

Is there any way to have tabs? I prefer not to have to move my mouse if I don't absolutely need to. ;)
 

MrRage

macrumors member
Jun 14, 2008
71
2
Well XCode is very different from MSVC - and it is a bit of an uphill battle at first.

Command + Option up arrow will let you cycle between your .m and your .h
Command + Option Left / Right Arrow will let you cycle threw your open files.

The Grouped button will tell Xcode to direct all new files to to this editor.

As an IDE Xcode can feel a little limiting at times for organizing your project but it does have great searching and code completion so that makes up for it.
 

bobber205

macrumors 68020
Original poster
Nov 15, 2005
2,182
1
Oregon
Thanks for the info!

I got one more quick question about the IDE. When I am using the auto fill in features of Xcode, sometimes it will allow me to tab out all the function/parameter names. Is there some easy way to tab/cycle through these?

The first one I can get to by tabbing but the others I cannot. Once I start typing, I have to go over there myself and erase the <NSString*> stuff.
 

MrRage

macrumors member
Jun 14, 2008
71
2
Yup, its a little weird at first (Ok well I'm still not use to it) but you use:
Control + / to cycle though the auto fill sections like this....

glFrustumf(<#GLfloat left#>, <#GLfloat right#>, <#GLfloat bottom#>, <#GLfloat top#>, <#GLfloat zNear#>, <#GLfloat zFar#>)

Escape will bring down that drop down so you can select different selections.


I'm sure there are more Xcode tricks out there but those are the ones I know off the top of my head...

Oh yeah... one more

deall + Escape gives you the option for Xcode to write out a dealloc function for you - handy to know.
 

bobber205

macrumors 68020
Original poster
Nov 15, 2005
2,182
1
Oregon
I have tried pressing what you suggested.

I am at where you said to press Ctrl + and I did it and all I get is a beep.
 

Attachments

  • Picture 1.png
    Picture 1.png
    73.3 KB · Views: 110

Sayer

macrumors 6502a
Jan 4, 2002
981
0
Austin, TX
The second group in Xcode preferences includes a checkbox to turn on/off the "insert argument placeholders for completions" option. That will stop putting the <NSString> junk in there (which is most annoying).

Preferences are standardized in most Mac apps now to be in the Application menu or accessible by typing Command , (comma).

You can also auto-complete an init method which is kinda silly since its so short.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.