iOS implementation of zip