I have just updated to XCode 4.0 and i must say i like it a lot!It's more organized, the debug is awesome, the fact that you see your errors in real time without having to build your code is a really cool feature! Another thing that popped was the fact that it looks a little bit like itunes!
sounds good. havent gotten around to downloading it yet. my connection is so slow it takes about 2-3 days to download it so i'll prolly do it over a w/e. do i have to download it through the mac app store? or is it still possible the old way?
If you're a registered iOS or Mac developer you can go to http://developer.apple.com to download it, otherwise I believe it's $4.99 in the Mac App Store. One thing that threw me off, was that the build folder is no longer located in the project directory. Took me a while to figure it out by looking at the prefs! heh
I know James (other 1/2 of Makeshift Games here) has been IMing me all day with awesome new things he's discovered while using it. Apparently it's a pretty amazing upgrade for his workflow
hate it. can't open up docs in new windows, they blew up all my shortcuts. will use 3.x as long as I can.
Another great thing i discovered is the fact that it figures out what you are trying to do and if you have a syntax or implementation error it suggests a fix, it saves a lot of time! Another nice thing is that interface builder is no longer a diffrent aplication, it is incorporated in xcode!you can see your code side by side with your nib file allowing you to link your elements directly with your code, for example if you have a button you can link it with the iboutlet declaration by control dragging from the button directly in the header file!!
Its friggin Awesome! I have both XCode 3 and 4 installed on my machine right now. Iv been using 4 throughout its beta days (when it was prone to crashes every now and then) but even then it was totally worthwhile to use. Even though im a beginner at iOS development - XCode 4 has decreased the learning curve tremendously - and in case you havent noticed yet - Im a HUGE fan! Some of the best things so far about it: -- Dual Pane Mode: The ability to see my .m and .h files side by side (and have it intelligently recognize which file it should show in the right pane) is INCREDIBLY helpful when your just getting back into development. It just makes it easier to visualize the object you are creating as you write its methods. -- Integrated Interface Builder: It made no logical sense for me as a developer that IB was a separate application. The workflow you have by having it integrated into XCode is super smooth and just makes more sense. -- Real Time Debug: Not having to build a project in order to realize that I have left off a semicolon somewhere just reduces frustration - that means that im willing to sit at my computer working on my personal projects for a much longer time then I would otherwise. I understand that long time XCode developers arent going to like a lot of the changes - but for me it just created a world of a difference. Im not a fan of the fact that they changed the way templates are handled / structured (so none of my Cocos2D templates will show up till cocos gets updated) which is the only reason I still have XCode 3 installed - but if anyone who is learning is going to make the switch, they should jump straight into XCode4!
Yes you can open docs in a new window... Preferences > General tab > Double Click Navigation = Use Separate Window
So far it's a nightmare. I might very well grow to love it in time, but for now it's just a completely alien environment. I'm having loads of trouble doing simple stuff like building/archiving, even getting my app to run in the simulator was anything but straightforward. *Sigh* guess I better look through that pdf on Apple's site.
Hm. Tried to install it yesterday. Result: "In order to continue installation, please close the following application: iTunes" Itunes *is* closed....
I hated it and deleted it. right-click "Show in documentation" seems to have gone. I can't work without that. Hated the new schemes. I prefer the old way of selecting builds configs. Couldn't figure out how to add buttons to the toolbar. Anyway, I'm back on xcode3 now.
I had a look at a couple of the early developer previews and liked it. Sure, almost all the shortcuts had changed but the old ones had been pretty obtuse. One key beat three for debugger stepping for example. I stopped using it after a few days because it was just too crashy but was impressed at how it didn't break being able to do back to 3.x. I started using it again when the gm was released (a month or so ago) and reckon I've been more productive than 3.x for about a week now. A lot of the fiddly provisioning etc. stuff that has always been a pain on iPhone dev is much better presented. The default keystrokes are better. The two pane system, 'hide toolbar' (specially bound to a key) and the cmd+0-6 keys make developing on a laptop much easier. The extra pedantic warnings in LLVM 2.0 have forced me to fix a bunch of potential issues and a few actual subtle bugs as eliminated every one of them from all of my builds. I love the vertex and fragment shaders are considered each other's counterparts (like .cpp and .h) and the editor actually seems to understand at least some of the shader syntax. Tabs seem like they should be very cool but I must admit, I haven't really used them much. Here at least, "use separate window" is the default setting but thanks for pointing out that area of the prefs.I didn't know about option-click opening in the 'assistant editor', that's very cool.
I've only looked around XC4 a bit, but haven't started using it yet as we're finishing a major project and now's not the right time to switch. It does look like a totally different environment, but most of the changes make sense. There'll be a learning curve, but I'm sure everyone will adapt. One thing I din't find in the new version is Command-clicking a bunch of files so that you can isolate the files you're currently working on. Maybe tabs are supposed to replace that, but it just isn't the same... I'm sure I'll manage without it, though. I'm a bit worried about the attitude of a few of the previous posters... I understand you may not like it, but sticking with XC3 as long as you can will only hurt you. You'd just be delaying the inevitable and then you'll have a lot of catching up to do. I think it makes sense to stick to XC3 if you're in the middle of a project, but it'd be wise to switch right away (no matter how much you think you hate it) if you're just starting to learn or are about to start a new project.
As far as I can see there's only one person who have actually stated that he won't be using XCode4 anytime soon. Personally I've even risked putting the finishing touches on Squid Drop using XCode4, despite it being completely alien. I guess I'll probably learn to like, even love, it eventually but as any tool forcing you to change you're routines there's a bucket load of frustration to be had. This thread is titled "So, do you like xcode 4.0?" and so far my answer is "not really". I see a lot of stuff I do like already though so I'm sure it is a vast improvement just too new to allow me being as productive as I could have been. One negative aspect is certainly system-demand as I've been happily developing on my Macbook Air the last 4 months or so. It seems that XCode4 hogs resources a lot more than its predecessors.
I like Xcode 4. It took me a while to get used to the new layout. Heh, but not as long as it took to download and install the software. I think the new version feels more solid. Example - I like how interface builder is now part of Xcode, not a separate application. I like the use of side panels. I like that it's just one window, not a bunch of floating little screens. But basically, it's still Xcode. If I'm building a game, I prefer GameSalad (or even Corona) over Xcode. It's just too slow and cumbersome for me. I don't like to think in code. I like to design visually. GameSalad better matches my style and experience.
After reading this thread I have experimented further with the navigation options, having taken a little time to understand the terminology. I'm now using this setup: Navigation: uses focused editor This makes the file open in the currently selected editor window, far better than always opening on the left pane. Optional Navigation: Uses Separate Assistant editor This opens files above each other in the right hand pane or, if you select view > Assistant Layout > All editors stacked horizontally, splits the right hand pane which is actually pretty useful on a 2560 wide monitor Double Click Navigation: Uses separate tab This is cool if you want a quick look in another file without breaking your layout, I also have my project settings opened full screen in another tab. All of this combined with having 'open quickly' bound to F2 makes navigating the project far easier than it ever was with Xcode3. I can't imagine ever having that huge pile of 20+ open windows I often found myself trying to use. For editing on a 13" macbook with a 1280 screen this is a huge improvement. I've bound showing/hiding the tool bar, tab bar and debug area to various F3 modifiers (Apple seem to leave F1-F4 free to define) and with a combination of these and command-0 and you have several nicely arranged and easily navigable windows filling very close to full screen.
Hate it and hope V3.xx sticks around for a while yet. I know at some point I will have to switch, but despite V3.xx being buggy and awkward to use sometimes, I am used to it and that counts for a lot. I guess that is why I use a lot of old software.
OK, just chiming in to say that it's already growing on me. The "realtime" error call-out being a particular time-saver. I also like how easy it is to switch to a full-screen code-window that will automatically be replaced by the console when running the app. Still alien, but I think I'll grow to love this. After all it took me quite some time to grow comfortable about the XCode of past...
I can see that I will end up liking it a lot, after I get used to the new shortcuts (though I dislike that the switch between header-implementation is now a two-hand shortcut) and the bugs I've been running into are fixed. But.. my thoughts after my first day of use - did they outsource it to Microsoft? Specifically, to the team who 'upgraded' XP to Vista. Also, people who have been using it for longer, is there a quick replacement for 'Show in documentation'? I hope there is one, as someone above also mentioned.
Has anyone else had problems with the new indexing feature? I'm struggling to get anything done while Xcode is "Indexing". It seems to eat all available memory (free memory drops under 1MB at times), which stalls the whole OS X and makes it very unresponsive. And the indexing doesn't only occur when opening a project for the first time. It seems to do a lot of work, when making changes (even small) to the codebase, or pulling changes from the repository. On top of that, it doesn't tell you when the indexing work is to be completed, like a percentage. I'm pulling my hair out while waiting >10 seconds for a simple Spaces-window swap to happen... The indexing feature is clearly an improvement from 3.x, but why does it have to use all system resources. Impatiently waiting for Apple to fix it in the future releases. Edit: Oh, and I have a MBP C2D 2.2GHz with 4GB of RAM