#iOS programming is too hard to risk the code. A sidestep on using #git and @github to control it.

Pdf-logo

When preparing for the following, and hopefully last, post, I decided to try to store the project in github.com to let you easily share it. That drove my tutorial to an halt. Without really knowing anything, I did a git init and git commit command, and suddenly all my source-files disappeared!

I ceratinly had done something wrong, and had to try to learn Git in order to finish my small tutorial. At least I had to use Time Machine to restore the files, and recreate the project using Apple's built-in Git support.

During the work I had a lot of help from the website to the book "Pro Git" by Scott Chaconn. He almost succeded in make me understand it. Way better than the "Git for dummies" wikis, which are made for much more advanced pupils than myself.

I had to redo my project, marking it for the use of Git. Then I followed the steps in on github help. So now you can get the the PDF-tutorial files at https://github.com/mortjac/PDF-tutorial.

In order to get the files into you XCode 4 follow these steps from Spitzkoff:
  1. Go to Organiser -> Repositories -> + -> Add repository... -> Type in your GitHub's repository name -> Paste either SSH path or https, both work.
  2. Click Clone
  3. Show xCode where to Download existing repository
  4. Start working on the project, commit as above.
Boy, this was pretty hard to get this post out! Please correct me on github if I could do it better or if I have sneaked a bug into it! 

Populære innlegg fra denne bloggen

Predicates in Core Data

How To Disable Google’s Personalization Of Search Results

InvestorForum by VentureLab in Oslo a success story #startups