How do I change C file operation to Objective C?
<p>char buf[32];   </p>

<p>FILE *fp = fopen("test.txt", "r");</p>

<p>fscanf(fp, "%s", buf);</p>

<p>fclose(fp);</p>

<p>I want to change above C file operations to Objectiv C.</p>

<p>How do I change?</p>

<p>Isn't there fscanf kind of thing in Objcectiv C?</p>
