So, do you like xcode 4.0?

Discussion in 'Public Game Developers Forum' started by MrLeQuack, Mar 10, 2011.

  1. GlennX

    GlennX Well-Known Member

    May 10, 2009
    761
    0
    0
    UK
    #21 GlennX, Mar 17, 2011
    Last edited: Mar 17, 2011
    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"
     
  2. cutterslade

    cutterslade Active Member

    Nov 29, 2008
    39
    0
    0
    #22 cutterslade, Mar 17, 2011
    Last edited: Mar 17, 2011
    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 :(
     
  3. seepel

    seepel Member

    Mar 11, 2011
    9
    0
    0
    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.
     
  4. GlennX

    GlennX Well-Known Member

    May 10, 2009
    761
    0
    0
    UK
    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.
     
  5. Photics

    Photics Well-Known Member

    Jun 1, 2010
    378
    0
    0
    I like Eclipse! :)
    Yeah, the update of Xcode 4.0 is a lot like Eclipse.
     
  6. MrLeQuack

    MrLeQuack Well-Known Member

    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
     
  7. TanTan

    TanTan Well-Known Member

    Feb 27, 2011
    304
    0
    0
    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?
     
  8. baris

    baris Well-Known Member

    Jul 30, 2010
    252
    0
    16
    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.
     
  9. MrLeQuack

    MrLeQuack Well-Known Member

    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.
     
  10. ultimo

    ultimo Well-Known Member

    May 5, 2009
    3,840
    1
    38
    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 :D
     
  11. TanTan

    TanTan Well-Known Member

    Feb 27, 2011
    304
    0
    0
    #31 TanTan, Mar 20, 2011
    Last edited: Mar 20, 2011
    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!
     
  12. MrLeQuack

    MrLeQuack Well-Known Member

    No problem!Good luck!!:D
     
  13. TanTan

    TanTan Well-Known Member

    Feb 27, 2011
    304
    0
    0
  14. jon_na_fun

    jon_na_fun New Member

    Mar 23, 2011
    2
    0
    0
    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.
     
  15. ArtCoder

    ArtCoder Well-Known Member

    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?
     
  16. NickFalk

    NickFalk Well-Known Member

    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. :)
     
  17. jon_na_fun

    jon_na_fun New Member

    Mar 23, 2011
    2
    0
    0
    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.
     
  18. ArtCoder

    ArtCoder Well-Known Member

    Again, why? :confused: 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.
     
  19. Runloop

    Runloop Well-Known Member

    Nov 16, 2009
    304
    0
    0
    iPhone Developer
    Southampton, UK
    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.
     
  20. TenlinStudios

    TenlinStudios Active Member

    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...:)
     

Share This Page