Finding the Shortest Path

Unlock the secrets to creating random mazes! Whether you're a game developer, an algorithm connoisseur, or simply in search of a new puzzle, you're about to level up. Learn algorithms to randomly generate mazes in a variety of shapes, sizes, and dimensions. Bend them into Moebius strips, fold them into cubes, and wrap them aroun

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Chapter 10 Source Control Management

Xcode Treasures — by Chris Adamson (70 / 89)

👈 Wrap-Up | TOC | Creating and Cloning Git Repositories 👉

Having coded, designed, debugged, and tested your application, it would be a disaster if something were to happen to it. But it’s not external threats you need to worry about; the greatest danger to the well-being of your app is you. Failing to back up your code means you risk being wiped out with a single hard drive failure.

But that’s only one possible risk. What if you go on a late-night tear through your code — born of inspiration and optimism — only to wake up the next day with an app that won’t build, no less run, and not enough undos in the world to get you back to a state where it worked? At this point, you’re out of luck.

Any professional development requires the use of source control management, the formal system of tracking changes in your codebase. Properly used, good SCM practices will save you from disasters, help you understand the history of your work, and facilitate working with others.

Xcode has fairly deep support for Git, the mostly widely used source control system today. In this chapter, you’ll see how it integrates with Xcode, what it does for you, and why you sometimes may need to go outside of Xcode for advanced features.

images/aside-icons/note.png

While this chapter introduces SCM concepts gradually, it’s not meant as a complete introduction to either SCM generally or Git specifically. For that, check out Pragmatic Guide to Git [Swi10].

👈 Wrap-Up | TOC | Creating and Cloning Git Repositories 👉

Add a comment

Related posts:

A Glossary of National Animals

In Afghanistan you may be stunned How a Snow Leopard can have you outgunned. Known locally as the Ounce, Like a bolt of lightning he can pounce. You must move quickly, it makes sense, Lest your…

Test Your Promises

Debunk the myth that JavaScript is not easily testable. Whether you use Node.js, Express, MongoDB, jQuery, AngularJS, or directly manipulate the DOM, you can test-drive JavaScript. Learn the craft of writing meaningful, deterministic automated tests with Karma, Mocha, and Chai. Test asynchronous JavaScript, decouple and properly

Chapter 9 Writing Your Own Methods

Printed in full color.For this new edition of the best-selling Learn to Program, Chris Pine has taken a good thing and made it even better. First, he used the feedback from hundreds of reader e-mails to update the content and make it even clearer. Second, he updated the examples in the book to use the latest stable version of R