I keep the information of what needs to be saved in MyAssistanForSaving and
when it is time to save (in my case I always save immediately when one attaches
new files), I write in my file package with the help of NSFileManager in the
-writeToURL... Method (I don't remember the précis name right n
On 26 Mar 2014, at 10:19, Colas B wrote:
>
> What is the difference between writing a hard link and just ignore this
> particular file that has not changed ? If the file is already there, where
> the hard link will be created?
>
> Envoyé depuis Yahoo Mail pour iPad
NSFileWrapper doesn’t sup
What is the difference between writing a hard link and just ignore this
particular file that has not changed ? If the file is already there, where the
hard link will be created?https://overview.mail.yahoo.com?.src=iOS";>Envoyé depuis Yahoo
Mail pour iPad
_
On 26 Mar 2014, at 10:13, Colas B wrote:
>
> Yes indeed,
>
> I'm using this method to manage additional data in a document.
> Want you say Mike frightens me a little bit, I would not want all my memory
> used my extra files when I save the document.
>
> Which options should I use if I want
Yes indeed, I'm using this method to manage additional data in a
document.Want you say Mike frightens me a little bit, I would not want all
my memory used my extra files when I save the document.Which options
should I use if I want the file wrapper to read/write as less as possible when
I updat
How about when a document is a file package on disk and contains a variety of
resources? I've found NSFileWrapper to be a fairly natural fit for that sort of
situation. If not, what else would you use?
--Graham
On 26 Mar 2014, at 2:11 pm, Jens Alfke wrote:
> For what it’s worth, I’ve been co
For what it’s worth, I’ve been coding with Cocoa for 13 years and have almost
never found a reason to use NSFileWrapper. I think the only times are when I’ve
needed to add image or file attachments to an NSTextView (because the API
basically requires it.)
—Jens
_
On 25 Mar 2014, at 12:52, Colas B wrote:
> Hi, I am having troubles using NSFileWrapper. In order to have a better
> understanding of it, I would like to ask you the following question.
>
> Is there a difference between
>
> NSURL *referenceURL, *destinationURL ;
>
> [[[NSFileMana
Hi, I am having troubles using NSFileWrapper. In order to have a better
understanding of it, I would like to ask you the following question.
Is there a difference between
NSURL *referenceURL, *destinationURL ;
[[[NSFileManager alloc] init] copyItemAtURL:referenceURL