tags:

views:

39

answers:

1

hello,

i'm writing an small file based program in Objective-C, Can U tell me wat is the syntax to access the file which i have kept in resource folder in XCode, i want to read the file and access only 1st two line of the contents of file.

i'm able to access whole file and display it, but wat is the procedure to read the contents of file and display only specific line, based on some conditon ?? Please help me ...

Thank You

A: 

Take a look here: Objective-c: Reading a file line by line

ennuikiller