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
Related
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:
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.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
API for Wikipedia in Objective C?
I am implementing one iphone application in which I want to parse the data from the wikipedia document and dipply in my format.
I have seen one application on itunes its possible.
Please give me advice if its possible.
Thanks in advance.
Wikipedia is running on MediaWiki engine. Check the docs. Another way is to useSpecial:Export the And then you just parse the XML content. Also you should check the using guidelines page:link
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How do I lock a file in Perl?
Does anyone know how to lock a text file in Perl so only one thing can write to it until it is unlocked? I need something other than setting the read/write attributes. Thanks.
Take a look at flock.
This question already has answers here:
Objective-C: Best way to access REST API on your iphone
(5 answers)
Closed 9 years ago.
I want to create an iphone application that is able to post the data to a website database which is using MySQL. Can anyone give some hints?
You'll need to use NSURLConnection and NSURLRequest to send the data to the server.