Boolean value that indicates whether the next redo action is discardable.
SDKs
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
var redoActionIsDiscardable: Bool { get }
Discussion
true
if the action is discardable; false
otherwise.
Specifies that the latest redo action may be safely discarded when a document can not be saved for any reason. These are typically actions that don’t affect persistent state.
An example might be an redo action that changes the viewable area of a document.