Chad Nantais a écrit :
Cool. Thanks, Damien.
One quick question. How would I remove the file's data from the
contents variable so it does not hang around the image? Would it be
good enough to just set the contents variable to nil once the file is
saved to the directory?
You can set the contents variable to nil but I think doing nothing will
work too. Your MAFileModel, if not stored, will be garbage collected
sonner or later.
--
Damien Cassou