I needed a simple file save/load class in order to finish my level generator tutorial so I decided to build a generic class that I could re-use.
This class is a mash up of the MenuBar class from @dave1707 and the ListScroll class written by @sanit. Thanks to both for sharing.
I will post the code for the File Manager class over the next couple of days but in the meantime the following is a quick video of the class in action. Only the delete file menu item is functional at this stage (if you watch the video careful you can see me deleting a file). This is a bit dangerous as it stands, as no confirmation is required before the file is deleted, so use with care. A back up prior to playing with this class is probably a good idea.
And by files I am of course referring to the key/value pairs in the associated plist.
Hi @Reefwing , i would really apreciate some tuto on codea possible way to handle files: types. Input - output function etc… I don’t know from the lua io library what is implemented and what is not, or at least it is unclear to me. So +1 on topic #1.
Thanks Guys - ok I will finish off the file io stuff (it sounds like the latest version of Codea will expose the Lua io functions which is handy) and then look at universal apps and iAds.