After a few more days of using it I have a few more observations. I was loving the way it let me organise windows but hating the way a build would mess all of this up. The build results that pop up in the "issue navigator" were particularly annoying in that clicking on any error/issue in that pane seemed to take you to the right file but the wrong place. I took to bringing up the build at the to of the "log navigator" which brings up issues in the main pane from where they can sort of be clicked on. I had missed the rather obvious little red exclamation mark in the top right of every window. Of course clicking on the arrows next to this (or pressing command-' and command-") takes you too the next issue in a very elegant way. The way I'm working now is, if after a build I have issues in many files, I just press command-T (new tab), command-4 (issue navigator) and browse the issues within this new tab, all without disrupting my nicely laid out windows in the original tab. Speaking of tabs, I've been using them more and actually have several set up viewing different aspects of the project. This works well but there is a really irritating way of losing your setup. If you close the main window on a project and have a second window open and close that, on opening again you will only have the tabs/views from that second window (which in my case was invariably just some header file). The fix for this is to never use another window. I can see that a lot of XCode3 users will see that as no fix at all but it really does work better if you embrace XCode4 rather than trying to make it work like the old version which, lets face it, was always a bit of a mess anyway. I think the Navigation defaults are all wrong. It seems they are set up to not scare those who hate change, why did Apple bother?, these people are never going to be happy anyway YMMV and all that but I reckon In preferences>general Navigation: Should be "Uses Focused Editor" Defaults to "Uses Primary Editor" Optional Navigation: Should be "Uses Separate Assistant Editor" Defaults to "Uses Single Assistant Editor" Double Click Navigation Should be "Uses Separate Tab" Defaults to "Uses Separate Window"
I liked it a lot! In my opinion, version 4 brings XCode closer to my favorite IDE, which is Eclipse. All it's missing is being able to open files in tabs, but the Assistant editor already goes a long way. Also, I haven't had a chance yet to test the new SCM features, but they seem to be light-years ahead of version 3. Maybe now I won't have to use a separate SVN client for most of the work Edit: spoke too soon... there seems to be no easy way (or maybe no way at all) to relocate a SVN working copy
Does it not crash constantly for everyone else? It seems like every other time I install to a device it's telling me that it has crashed and asking me if I want to continue.
I've had it crash fairly often (maybe once every few days) but I've been lucky in that I've never lost a line of code, it always seems to crash at some point between the implicit save when I hit 'build' and before I start editing actual code again. Since I've stopped fiddling with settings and just got down to some solid work (10 or so hours per day all this week) it hasn't crashed at all.
For anyone who is using cocos2d, the guys over there have implemented three templates for xcode4, you can get it here: http://www.cocos2d-iphone.org/archives/1412 . The package includes: * cocos2d template * cocos2d + Box2d template * cocos2d + Chipmunk template
How would one go about starting out using XC4? I know very little about programming (just started reading a Xcode book about a week ago when I saw it in the store for only $5 and instantly downloaded it. Currently on page 65 out of 69) Any tips or book suggestions?
seepel, it also crashes for me almost every time I try to install. But now I started saying 'continue' instead of 'crash', and it seems to be ok.
You should check out the itunes Stanford course!It is called Iphone Aplication Development(winter2010) By Alan Cannistraro and Josh Shaffer. You start with all the basic stuff, like what xcode is and how to use it and by the end of the course you should have the knowledge to build an aplication! It helped me a lot when I started, hope it helps you to! Here is the link http://itunes.apple.com/us/itunes-u/iphone-application-development/id384233225 Cheers.
On the other hand, there is a lot of unlearning to do for xcode 1,2 & 3 users... iSuppose About liking it or not, Not got my hands on it any of the xcodes yet
Hey thanks for the reply man, I really appreciate but i went to check the book out and the link doenst work with the US itunes store Edit: Just did a google search and i found it. Thanks again buddy!
It's super slow. Takes forever to install the app onto my iphone. I like the syntax suggestions but I will likely try to stick to the 3.x xcodes. It keeps telling me missing base SDK but in 3.x xcodes, I can specify it to run the release configuration, which will have 4.2 and my debug will have 4.1. Can I specify the specific configurations in 4.0 xcode? I can't seem to find it.
I don't have an answer for you, but I'm curious - why would you want to use a different SDK for your release and debug configurations?
I've been using it for a few weeks now and must admit it has grown on me immensely. I actually think I like it better than the older versions already. I haven't really trained my muscle-memory (or brain) to the new shortcuts but there really is a lot to love.
Well I run 4.1 on my debug, 4.2 on distribution and 4.3 on release. I don't want to change the ios everytime I switch between the different xcodes. Unless there's an easier way that I haven't figured out.
Again, why? Maybe I'm missing something, but I can't come up with a good reason to do that. Just set your "Base SDK" to "Latest iOS (4.3)" and your "iOS Deployment Target" to the lowest version of iOS you want to support. Anyway, if you do need it, you can set a different deployment target for each configuration. Click on you project, Build Settings, search for "iOS Deployment Target". Click on the property and you'll see a little disclosure triangle appear on the left. Click on it to reveal the settings for each config. Hope it helps.
I tried it the other day and first impressions weren't so good. The best feature in Xcode 3 for me was how easy the documentation was to access. cmd+opt double click a symbol and there you were in the docs. Why they chose to remove this I'll never understand. Also they've ruined most of the context menus so that they no longer contain contextual information. I wanted to right-click and delete an object from my core data and all I was presented with was a help menu about how to use that pane. Useless. Speaking of the core data editor, you can no longer have both the visual representation and the entity tables at the same time with using the adjacent window which duplicates half of the interface. And why oh why change the switch to counter part shortcut?! I'm also not a fan of the tiny buttons in the side window. Everytime I build I had a to tap a tiny button to see my project files again. Overall, not impressed. It feels like a massive step backwards to me. Hopefully after a couple of updates a lot of these things will be resolved but for now I think I'm going to be sticking to Xcode 3.
Not a fan so far... I can't stand the realtime error checking or whatever it is. I often use non-existent variables as i code, then go to the head/whatever and make the var... I get bombarded by red dots, can that be turned off??? I also turned off completions because it brings up a huge list covering up my code... I like autocomplete, but this is rediculous, idunno, maybe i just have to search more or something... I didn't realize I could have 3.x and 4.x installed at the same time... Kinda new to the iOS. I may have to do that... Done grumbling for now...