BrickPad 2.1.1


Re: BrickPad 2.1.1
#6
You're welcome. Note that I seem to recall that NSFileManager's -replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error: method (which in theory allows for an atomic file replacement) is badly broken on iOS. So while it doesn't appear that you would use that method, be aware if you do so that it might not work. (My code asks the user if they want to replace their existing file if the new one is found to be different from the old one; if they don't replace, I auto-rename, but if they do, I overwrite the existing file, and when I tried to do that with NSFileManager in an atomic way, it didn't work.)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
BrickPad 2.1.1 - by Ken Drew - 2012-12-14, 1:50
Re: BrickPad 2.1.1 - by Paul Griffin - 2012-12-16, 7:32
Re: BrickPad 2.1.1 - by Ken Drew - 2012-12-16, 15:41
Re: BrickPad 2.1.1 - by Travis Cobbs - 2012-12-17, 0:43
Re: BrickPad 2.1.1 - by Ken Drew - 2012-12-17, 0:49
Re: BrickPad 2.1.1 - by Travis Cobbs - 2012-12-17, 0:59
Re: BrickPad 2.1.1 - by Paul Griffin - 2012-12-17, 2:04

Forum Jump:


Users browsing this thread: 5 Guest(s)