Suggest a easy way to read the contents of a file in a string and display the contents using objective c language.
for example if there is an source.rtf file which contains
[name]lohith[/name]
[age]22[/age]
The program shld read the contents of this file into NSString object and display the contents in the following format:
name=lohith.
age=22.
I wld appreciate if anyone helped me out.
thanks.