On 2011-09-09, at 6:05 PM, Kyle Sluder wrote:
> Unfortunately, it doesn't look like there's any public API to force a
> document to be locked. The closest I've come is -[NSDocument
> checkAutosavingSafetyAndReturnError:], but it doesn't seem to be
> called at all the times I'd expect it to be cal
On Fri, Sep 9, 2011 at 4:34 PM, Quincey Morris
wrote:
> 1. The "Locked" attribute belongs to the user, and is not yours (the
> developer, the application, whichever) to manipulate, even with the best of
> intentions. Surely, when an old-file-format document receives an editing
> change in the Lion
On Sep 9, 2011, at 15:05 , Kyle Sluder wrote:
> I'm trying to force a document to open as locked. The use case is for
> upgrading documents from our previous file format. In the past, if the
> user tried to open an old file, we'd upgrade the document, place the
> new version alongside the old vers
Hi all,
If you adopt the new +autosavesInPlace feature on Lion, documents that
haven't been opened in a while will get a "Locked" message in the
titlebar, which the user can override by clicking and choosing
"Unlock," or by attempting to make a change to the document and
choosing "Unlock" from the