Protecting Our Code with Source Control

So far, we’ve made the implicit assumption that our code could live just fine as one collection of source files and resources on one computer, used by one developer. By and large, this isn’t realistic; apps are often created by multiple developers working together, and even solo developers often move their projects between desktops and laptops.

To make this more practical, many developers use source control systems (also known as revision control). Source control systems exist as both network services and client-side applications, and they allow us to manage multiple versions of the files in our project. This means if we introduce an error in some version of a given source file, we can roll back to an ...

Get iOS 8 SDK Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.