iphone : objective-c : how to compress NSString? [duplicate] - iphone

This question already has answers here:
Compress/Decompress NSString in objective-c (iphone) using GZIP or deflate
(4 answers)
Closed 7 years ago.
I want to compress an NSString. How I can do that in objective-c (iphone).

here you may find you answer.

Related

How to write binary data to a file in ios [duplicate]

This question already has answers here:
iPhone writing binary data
(2 answers)
Closed 9 years ago.
Iam new to iphone development.
I have binary data(audio file content) in a NSData variable and i want to write that to a file in device.
Can anyone share me a snippet or links of how can i do the same.
Thanks in Advance,
Dinesh
You can easily use :
writeToURL:atomically:
writeToFile:atomically:

Reading JSON in Objective-C [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Which JSON library to use for data on iPhone
I have a JSON file. I want to read each element value and store those values into an array.
How do i proceed?
Use NSJSONSerialization. It's built in.
http://developer.apple.com/library/ios/documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html

Markdown to html objective-c [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
What is the simplest implementation of Markdown for a Cocoa application?
Is there any library written on Objective-c to convert Markdown to HTML?
I need to use Markdown in my iphone app.
You should refer rentzsch's Markdownlive project.

How to display epub file in UIWebview [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Reading ePub format
I want to show my .epub file in iPhone application.
The answer can be found over here
Reading ePub format

iphone load csv into UITable [duplicate]

This question already has answers here:
CSV parser with low memory footprint for iPhone
(3 answers)
Closed 8 years ago.
I wish make this thing: load an csv took from the web (http://mywebsite.com/myfile.csv) and parse into a UITableView...
is there any fast method to do this?
thanks in advance
CSV parser with low memory footprint for iPhone