|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Hi, I'm trying to figure out Versions behavior in Lion especially how (and when) "Save a Version" works. I've made a quick simple application with Versions enabled that basically just saves and opens text files. I've tried a very simple thing: 1. Type a letter 2. Hit "Save a Version" 3. Type another letter 4. Hit "Save a Version". 5. Repeat above many times :) Now you would think that this would yield as many versions of the file in the Versions Browser as you repeated the "Save a Version" (always with changed file content), but it doesn't. Only few versions appear even if I hit Save a Version many times (always in Edited state). If you do the very same thing in TextEdit then the Versions Browser will show as many file versions as many times you hit "Save a Version". It seems pretty odd to me. I couldn't find any direct control over this and hoped that if you call updateChangeCount: or register undo (document gets marked as Edited) and click "Save a Version" the version will be 100% saved and later can be restored from the Versions Browser. Unfortunately that is not true. Is there any way to change this behavior and is it indented? I've also encountered strange problem and get a "There was an error retrieving versions for Time Machine" in the Versions Browser even if explicitly saved some versions of a file before. Is there any way to debug this problem? The only error I was able to find was in the system.log "_CSBackupServerProxyCopyDestinationMountPoint returned backupdResultCode: )" If anyone is interested sample project can be downloaded from http://dl.dropbox.com/u/29723938/BrowseVersionsTest.zip Regards, Aidas_______________________________________________ Cocoa-dev mailing list (email@hidden) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.