Archive for December, 2010


Reading and writing zip files on the iPhone

By on December 23rd, 2010 in iOS Comments (4)

I’ve looked through a number of zip file libraries on iOS, and I would recommend using Objective-Zip. It wraps ZLib and MiniZip with a fairly intuitive Objective-C interface, and provides some nice functionality like being able to easily access the metadata for each file in the archive. Using it is pretty straightforward, just grab the…

Read more…


How to extract a subdirectory of an existing Git repository into its own Git repository

By on December 22nd, 2010 in Programming Leave a Comment

I ran into this problem recently so I figured I would post a step by step solution. Say you have a project stored in Git with three subdirectories like this: project/ .git/ folder1/ folder2/ folder3/ And you want to extract the contents of folder3 into its own Git repository, like this: project/ .git/ folder1/ folder2/…

Read more…