a little help! new to iphone sdk...

Discussion in 'iOS Programming' started by koopa35, Feb 10, 2010.

  1. koopa35 macrumors 6502

    Joined:
    Aug 7, 2008
    Location:
    Los Angeles, CA
    #1
    im new to the iphone sdk. as a matter of fact im new to developing i have no training at all and im reading learn c on mac. now me and my cousin are both reading this book and want to make iphone/ipad in our spare time. my question is, is there a way to share an xcode project? when we get past learning parts which is kinda hard with no schooling. we will not always be in the same place when its time to make apps. so is there away to share?
     
  2. drf1229 macrumors regular

    drf1229

    Joined:
    Jun 22, 2009
    #2
    Sure, once you create a project it appears in a directory. Just archive the directory and send it to each other. To open it, unarchive the directory and open the .xcodeproject file.
     
  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    Or if you want to get really fancy, you could setup a SCM.
     
  4. koopa35 thread starter macrumors 6502

    Joined:
    Aug 7, 2008
    Location:
    Los Angeles, CA
    #4
    Is the directory the recent projects list? If so how do I archive it sorry.

    And scm how does one set it up. Again we will work on projects when we get to that stage. He will be at least 5 miles away. Again fellas sorry for the questions. I'm just trying to learn c and objective c on my own.
     
  5. boyplunder macrumors regular

    boyplunder

    Joined:
    Sep 8, 2008
    Location:
    UK
    #5
    Koopa35, I think you are seeing this as being far more complicated than you think. drf1229 is simply suggesting you zip the project folder, where all of your resources and class files live, and email it to your cousin. They can then unzip it, open it in Xcode and get on with it.
     
  6. KnightWRX macrumors Pentium

    KnightWRX

    Joined:
    Jan 28, 2009
    Location:
    Quebec, Canada
    #6
    Of course this method assumes you are going to take turns working on the source code and never work on it at the same time. Not to mention, you can't work on it until you've received updates.
     
  7. Vaxuun macrumors member

    Joined:
    Feb 6, 2010
    Location:
    Denmark
    #7
    Else download Dropbox from Dropbox Download - Will Start Automatically and make a shared folder.

    Let's assume you are called John and your cuisine Freddy.

    Make a folder called "Johns projects", "Freddys projects" and "Projects". Save target destination to the "Johns projects", so everytime you save your project, it auto updates for you and him.

    P.S. The folders are just examples for being sure you ain't are working on the same time, the John and Freddy.

    P.P.S You can also upload and download your files from Dropbox if you're not on your own Mac/Computer

    Hope this helps :)
     
  8. drf1229 macrumors regular

    drf1229

    Joined:
    Jun 22, 2009
    #8
    The directory is the folder that contains your .xcodeproject file. To archive it, right click on it and click "Compress".
     
  9. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #9
    You might want to try using a public source code repository, or just put a CVS/SCM repository in a shared public folder somewhere (iDisk or something).
     
  10. koopa35 thread starter macrumors 6502

    Joined:
    Aug 7, 2008
    Location:
    Los Angeles, CA
    #10
    Thank You All For The Help

    thanx for the responses i have got a little additional help from a few in this thread. the only problem with email is that we wouldnt be able to work on the project at the same time and thats what we want to do. since hes about 10 miles away and not on same network emailing back and forth would be a pain. its not really important right now because we have just started. but i like to get this part out the way so when that time comes well know how to manage and work on it at the same time
     
  11. kyzen macrumors regular

    Joined:
    Feb 8, 2010
    Location:
    Colorado
    #11
    Source Control software will be your friend.

    Or be very careful to not work on the same class at a time; a friend and I managed to complete a project a few years back just dividing up the classes we needed to make, and sending the newest version every night. Could've been more efficient about it, but it worked.
     
  12. koopa35 thread starter macrumors 6502

    Joined:
    Aug 7, 2008
    Location:
    Los Angeles, CA
    #12
    my final question on the matter since i dont want to keep bugging you guys about it. when the scm is setup is it like a central server that we grab the project from? and will there be some sort of url or something for him to access the projects we would start on my mac?
     
  13. kyzen macrumors regular

    Joined:
    Feb 8, 2010
    Location:
    Colorado
    #13
    there's a lot of different options out there. Some provide just a local source control package that lets you backup your code & track revisions on your own machine. Others are bigger and include more complex features, such as a web interface, version merging, branching, etc.

    Start by looking into Subversion - that's a rather powerful, and fairly popular option. Merely Googling around for that will probably net you a few other software options as well.

    Some packages will even integrate with your IDE (I think XCode supports it almost natively, I could be mistaken though), so you won't even have to fire up the software/website after initial setup.
     
  14. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #14
    Xcode does support a number of SCM systems, including Subversion, CVS, Perforce, among others. More info here: Xcode Source Management Guide
     

Share This Page