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.
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 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
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can I embed a custom font in an iPhone application?
I'd like to put a text in my app with a special font but I don't know how to do it ?
Someone could explain me or have a link about it ?
Thanks
There are many pages on the net describing how to do this. http://tetontech.wordpress.com/2010/09/03/using-custom-fonts-in-your-ios-application/ is one of them.
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
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