objective c - Write contents of NSMutableArray to a text file in iOS 8.3 -
i referred following links not working in ios 8.3 ipod
write contents of array text file
is possible save nsmutablearray or nsdictionary data file in ios?
nsstring *file_path = [[nssearchpathfordirectoriesindomains(nsdocumentdirectory, nsuserdomainmask, yes) firstobject] stringbyappendingpathcomponent:@"/app_name/untitled.txt"]; [myarr writetofile:file_path atomically:yes];
i trying write nsmutablearray in text file. code not working ios 8.3, nsmutablearray has nsmutabledictionary contents.
Comments
Post a Comment