I found the zlib and gzip decompression algorithms, but I need to compress a whole directory and download it from the server. Would rather not go file at a time.
Thanks.
ziparchive, a Google Code project by "acsolu," provides an iPhone-compatible Objective-C wrapper around minizip. With a little adaptation, I found it useful for doing unzip on the iPhone as you described.
I've had good luck using minizip on iPhone.
I attened a Tacow meeting in Toronto where Karl Kolpanic did a presentation on his ZipKit framework, which he said is also compatible with iPhone development.
It's available over at BitBucket.org: http://bitbucket.org/kolpanic/zipkit/
Related
I have just started to work with the iPhone SDk(have never worked with MAC either). I finished implementing a helloworld app on iPhone.
I'm supposed to build an app on the iPhone for handling WAV files. How do I start? Which frameworks should I look at? Please advice.
Regards,
Namratha
Ok the best way would be start from apples documentations, search with your requirements.There will be methods that you may be instrested in.(Praise their naming conventions).Then if its not clear to you what is being said, do a google search on that part.This is the approach i followed at the start.Eg:AudioToolBox framework
I am looking for a compression library to use in iPhone application supports decompressing AES 256-bit archives built in Winzip compression utility.
Thanks.
zlib is part of the iPhone sdk and is a well established and free option. If you're using Xcode you can add it to your project by:
Right clicking on the Frameworks folder in your project (you can do it elsewhere but that's likely where you want to put it)
Select add file
Select existing frameworks
Select libz.1.2.3.dylib
Thank you very much for the help I finally ened up using ZipArchive library from:
http://www.artpol-software.com
I had couple of obstacles such as compiling the library to armv6/armv7/i386 architectures but finally it worked out for me, I am more than happy to share the compiling process if any body want to use ZipArchive, amazing library.
Can someone point me in the direction of an Objective-C (or c/c++) library, or tutorial (Objective-C) that teaches uploading or downloading via FTP? Preferably one that shows how to download a file to a temp dir, then upload it later? I don't mind one aimed at OSX, but my goal is the iPhone / iPad. I'm still googling, but the results are slim at best.
EDIT: This looks like it'll do the trick:
http://developer.apple.com/library/ios/#samplecode/SimpleFTPSample/Introduction/Intro.html
Thanks guys!
https://github.com/karelia/ConnectionKit should do the job
I know it's been asked before (like here), but is there way to natively use XSLT on the iPhone? If not, and I need to use libxslt, is there any documentation/tutorial of how to use it on the iPhone?
EDIT:
I've decided to use libxslt. What files are necessary to include? I haven't found any tutorials of examples of use on the iPhone, and I'm unsure of how to approach it. Any help would be appreciated.
Thanks in advance.
Cannot use libXSLT on iPhone. Not as of today. App will be rejected. libXSLT is built into the iOS andd COULD be called - but this is a private API of the iPhone and will cause rejection. If you compile the libxslt library yourself and statically link it to your app, you will still get rejected. Many people have reported this bug in the app review process but nothing has yet changed.
It depends how you want to use XSLT; not sure what you mean by "natively". If you're just embedding a browser, MobileSafari will interpret XSLT for you.
If you're just converting one XML document into another for processing, libxslt is not a bad choice. There's no difference using libxslt on the iPhone from any other platform. Given Apple doesn't include headers for it, it is likely they don't want you using the bundled copy. You are better off compiling a copy into your application instead, against the provided libxml2 library.
If you want a more specific answer you may wish to pose a more specific question. :-)
Does iPhone support XML-RPC, Is their any open source framework which I can use?
Checkout the source for the wordpress app. They might be using XML-RPC. :)
http://iphone.wordpress.org/
"Airsource Ltd" is really really incredibly wrong about that document. That document is specific to Mac OS X and NOT the iPhone. In fact (almost) all Apple iPhone documentation is hidden away behind a login page and a licence agreement. Most of the technologies that document refer to (e.g. AppleScript) do not even exist on the iPhone.
Amit, you'll have Zero luck if you follow Airsource's advice. You will however do ok if you do as "Lounges" says and go grab the wordpress source code. It looks like they rolled their own XMLRPC library for use on the iPhone.
As for SOAP - you're on your own. You might be able to find an opensource SOAP library built on top of libxml2 though. Good luck.
Yes iPhone support XML-RPC and wordpress opensource application is best example of it,
but from performance aspect I must say JSON is better to use with iPhone application,
from here https://github.com/stig/json-framework/ u can download JSON parser.