Been working with Xcode for more than a year now, I just wanted to highlight the following neat feature available in Xcode.
The ability to take snapshot and revert this back to the way it was before.
If you work with Virtual Machine, you will appreciate this function and understand how valuable it will be.
If not let me explain, take for example you made a mistake in your development deleting some really important codes away and you can’t undo. You will either find from a backup hdd or try to rewrite it again. But with snapshot you will not need to do either of the above (provide you dont lost the development due to a dead hdd).
Creating a Snapshot
Instruction to take a snapshot:
In Xcode, File -> Create Snapshot
This will save a snapshot of the current state in the Xcode’s Organizer.
Restore the Snapshot
Restore the snapshot by going to the following:
In Xcode, File -> Restore Snapshot
Managing the Snapshots
Anyone who have publish an app or work extensively will be aware of Xcode’s Organizer, but if you dont, no worries.
In Xcode, Window -> Organizer -> Select Projects (this is the third icon out of the five on the window)
On the right of the screen, you will see the project and you can delete or export the snapshot.
I am linking the official documentation from apple. Click ME
Ending this off, if you are not the only person working on the project, I recommend you go the commercial route which is the SCM. Eg. SVN or GitHub or TFS
But if you are just like me working on weekend project, do explore this snapshot features that comes along with the XCode.