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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -