Posts

Post not yet marked as solved
2 Replies
868 Views
HiHaving made an app that allows users to save documents to iCloud Drive, I'm left with questions regarding the .editingDisabled state. My app calls open on the document and if the completion handler returns as a success I present the document. Initially the documentState property is always .normal however sometimes after a couple of seconds, it changes to .editingDisabled for half a second and then changes back to .normal. So my questions are as follows:a) Is there anywhere that explains what .editingDisabled actually means - e.g. why is it disabled?b) Is there a way to detect whether a document will switch to .editingDisabled at the point when the open completion handler returns? I'd quite like to disable editing on the document before it appears rather than presenting it, and then suddenly disabling edits.c) Is my document state ever going to change to .editingDisabled once it's been open and the user has been working on it for a while? If so, I'd be interested in the best approach for handling this state (disable the document, make edits elsewhere and merge them later?)Thanks very much 🙂
Posted
by DiGiTaLFX.
Last updated
.
Post not yet marked as solved
0 Replies
668 Views
I've got an SCNScene that I'd like to use to drive a DMX stream. DMX has a maximum refresh rate of 44Hz when using the full 512 channels, so I'd like the scene to render in sync with this rate.I've tried setting my SCNView's preferredFramesPerSecond to 44, however as noted in the documentation the result is that it picks 30fps as this is the next lowest factor of my display's refresh rate. Is there a way to make my view bypass syncing with the display? I'm happy to use an MTKView and SCNRenderer if necessary, but I can't see anything in the docs that would indicate an MTKView would behave any differently?Thanks 🙂
Posted
by DiGiTaLFX.
Last updated
.