can't read from file


i have code:
[src]
nsarray *paths = nssearchpathfordirectoriesindomains(nsdocumentdirectory, nsuserdomainmask, yes);
nsstring *documentsdirectory = [paths objectatindex:0];
nsstring *path = [documentsdirectory stringbyappendingpathcomponent:mad:"example.txt"];

nsstring revals;
nsinteger retval;
retval = [@"2" writetofile: path atomically:yes];
[/src]

it's write file value =2 ; can't find anywhere - how can read value revals?

thanks!
 

someboby know?
 


Forums iPhone, iPad, and iPod Touch Jailbreaks and iOS Hacks


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Upgrade Eligibility?

need help with itunes 7.7

How to change Apple IDs on iPhones