ios - How to simply store some files -
i'm developing app needs show logos. these logos 8kb png files, , i'm going handle little amount of them (10-20 @ most). however, these downloaded internet because might change. so, i'm trying achieve is, making app download them (done), storing them file system, , downloading again whenever change (might months).
everyone seems use core data, in opinion designed bigger , more complex things, because files have same name plus don't have relations between them.
is file system way go? tutorial?
yes, file system best option this. you've implemented downloading. how have done so? nsurlconnection
? if so, @ point, have nsdata
object. has couple of write
... methods can use save data file on filesystem. sure save files in right place, app sandboxed , can't write anywhere like.
Comments
Post a Comment