Amazon.com Widgets Duplicating files
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 19, 2013, 02:25:04 PM
Home Help Search chat Login Register   
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan
                     

+  Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+  Old Stuff
| |-+  XCode 4 Help
| | |-+  Duplicating files
Pages: [1]   Go Down
Print
Author Topic: Duplicating files  (Read 745 times)
bpedit
Jr. Member
**
Posts: 65


Email




« on: July 02, 2011, 12:37:00 PM »

It seems there should be a way to store incremental (version) files during the development of a project within the same project. For example, being able to copy and then modify a new main.m file while preserving the old one (understanding the old main would have to be somehow disabled). The idea being:
  •  keeping the older files for academic purposes.
  •  having back-ups to return to for modification.
  •  having all versions contained within one project.

So far I've figured two ways to duplicate:
  •  copy the entire folder that Xcode creates.
  •  create a new project and drag files from the old project.
————————————————————————————
edit: Oops! Even these don't work. The modification in the new file are also applied to the old file; they remain the same file. The only way I've found is to create a new project with new files then cut-and-paste from the old project files.
————————————————————————————

« Last Edit: July 03, 2011, 02:36:25 PM by bpedit » Logged
Waiting
Global Moderator
Full Member
*****
Posts: 103






« Reply #1 on: July 02, 2011, 01:47:25 PM »

Have a look at the GIT repository option when you start a new project.

This can help you save versions and go back and compare next to each other the difference.

It might not be exactly what you want but could be useful. Maybe have a search on it and read up on if it does what you want.
Logged
bpedit
Jr. Member
**
Posts: 65


Email




« Reply #2 on: July 03, 2011, 02:41:01 PM »

Thanks. After a brief look, the GIT method seems like it has its own learning curve and might be overkill for working through examples in the book. I guess I'll cut-and-past for now.
Byrne
Logged
Pages: [1]   Go Up
Print
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.