-1
  • How do I pass a zip file in xml format to an iPhone?
  • How do I retrieve to the compressed file using objective C and xcode?
Richard Povinelli
  • 1,419
  • 1
  • 14
  • 28
Nirav Jain
  • 5,088
  • 5
  • 40
  • 61

2 Answers2

3
  • Encode the zip's binary data (e.g. via Base64) and add to the XML data
  • Transmit the XML to the iOS device (e.g. via ASIHTTPRequest)
  • Parse the XML to retreive the encoded zip data (e.g. via NSXMLParser, or libxml2 etc.)
  • Decode the encoded zip data (again, with the same encoding method, e.g. Base64)
  • Use Apple's pre-built zip library to decompress the decoded data
Community
  • 1
  • 1
Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345
1

What do you want to do.. Pass an zipped xml file or want to pass zipped data to an xml file?

Here is the library for packing/unpacking the zip files

Inder Kumar Rathore
  • 39,458
  • 17
  • 135
  • 184