Objective-CclassFoundation
NSUndoManager
@interface NSUndoManager : NSObject <NSXPCListenerDelegate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolNSXPCListenerDelegate
Members 109
- method
+ (void)_endTopLevelGroupings; - method
+ (void)_setEndsTopLevelGroupingsAfterRunLoopIterations:(BOOL)arg0; - method
+ (void)initialize; - ivar
NSObject<OS_dispatch_source> *_automaticTerminationSource;+0x60 - ivar
unsigned long long _flags;+0x48 - ivar
id _proxy;+0x58 - ivar
_NSUndoStack *_redoStack;+0x38 - ivar
struct _NSRemoteUndoState { BOOL isAux; union { struct { NSMutableDictionary * auxManagers; } main; struct { BOOL inProcessConnection; BOOL performingAuxUndo; union { struct { NSXPCListener * listener; NSXPCListenerEndpoint * endpoint; NSXPCConnection * connection; } xpc; struct { _NSUndoManagerMainExportedObject * mainInterface; NSUUID * uuid; } inProcess; } ; } aux; } ; } _remote;+0x8 - ivar
NSArray *_runLoopModes;+0x40 - ivar
id _target;+0x50 - ivar
_NSUndoStack *_undoStack;+0x30 - method
- (void)__redoCommonDoSingle:(BOOL)arg0; - method
- (void)__redoSingle; - method
- (void)_assertNotAuxForPerformingAction; - method
- (id)_auxiliaryReference; - method
- (void)_cancelAutomaticTopLevelGroupEnding; - method
- (void)_commitUndoGrouping; - method
- (void)_connectionTerminated:(id)arg0; - method
- (void)_delayAutomaticTermination:(double)arg0; - method
- (void)_endEventGroupingIfOpen; - method
- (BOOL)_endUndoGroupRemovingIfEmpty:(BOOL)arg0; - method
- (void)_forwardTargetInvocation:(id)arg0; - method
- (void)_linkWithAuxiliaryManager:(id)arg0; - method
- (BOOL)_linkWithAuxiliaryUndoManager:(id)arg0 error:(id *)arg1; - method
- (id)_methodSignatureForTargetSelector:(SEL)arg0; - method
- (id)_newestUndoActionDate; - method
- (id)_oldestUndoActionDate; - method
- (void)_postCheckpointNotification; - method
- (void)_prepareEventGrouping; - method
- (void)_processEndOfEventNotification:(id)arg0; - method
- (id)_redoGroupIdentifier; - method
- (void)_registerUndoGroupOnMainManagerIfNecessary; - method
- (void)_registerUndoObject:(id)arg0; - method
- (void)_registerUndoWithTarget:(id)arg0 handler:(id /* block */)arg1; - method
- (struct _NSRemoteUndoState { BOOL x0; union { struct { id x0; } x0; struct { BOOL x0; BOOL x1; union { struct { id x0; id x1; id x2; } x0; struct { id x0; id x1; } x1; } x2; } x1; } x1; } *)_remoteState; - method
- (void)_removeAllActionsForConnectionUUID:(id)arg0; - method
- (void)_rollbackUndoGrouping; - method
- (void)_scheduleAutomaticTopLevelGroupEnding; - method
- (void)_setGroupIdentifier:(id)arg0; - method
- (BOOL)_shouldCoalesceTypingForText:(id)arg0 :(id)arg1; - method
- (void)_teardownRemoteConnections; - method
- (id)_undoActionInfo; - method
- (id)_undoGroupIdentifier; - method
- (id)_undoStack; - method
- (void)beginUndoGrouping; - method
- (BOOL)canRedo; - method
- (BOOL)canUndo; - method
- (void)dealloc; - method
- (id)description; - method
- (void)disableUndoRegistration; - method
- (void)enableUndoRegistration; - method
- (void)endUndoGrouping; - method
- (long long)groupingLevel; - method
- (BOOL)groupsByEvent; - method
- (id)init; - method
- (BOOL)isRedoing; - method
- (BOOL)isUndoRegistrationEnabled; - method
- (BOOL)isUndoing; - method
- (unsigned long long)levelsOfUndo; - method
- (BOOL)listener:(id)arg0 shouldAcceptNewConnection:(id)arg1; - method
- (id)prepareWithInvocationTarget:(id)arg0; - method
- (void)redo; - method
- (BOOL)redoActionIsDiscardable; - method
- (id)redoActionName; - method
- (id)redoActionUserInfoValueForKey:(id)arg0; - method
- (unsigned long long)redoCount; - method
- (id)redoMenuItemTitle; - method
- (id)redoMenuTitleForUndoActionName:(id)arg0; - method
- (void)registerUndoWithTarget:(id)arg0 handler:(id /* block */)arg1; - method
- (void)registerUndoWithTarget:(id)arg0 selector:(SEL)arg1 object:(id)arg2; - method
- (void)removeAllActions; - method
- (void)removeAllActionsWithTarget:(id)arg0; - method
- (id)runLoopModes; - method
- (void)setActionIsDiscardable:(BOOL)arg0; - method
- (void)setActionName:(id)arg0; - method
- (void)setActionUserInfoValue:(id)arg0 forKey:(id)arg1; - method
- (void)setGroupsByEvent:(BOOL)arg0; - method
- (void)setLevelsOfUndo:(unsigned long long)arg0; - method
- (void)setRunLoopModes:(id)arg0; - method
- (void)undo; - method
- (BOOL)undoActionIsDiscardable; - method
- (id)undoActionName; - method
- (id)undoActionUserInfoValueForKey:(id)arg0; - method
- (unsigned long long)undoCount; - method
- (id)undoMenuItemTitle; - method
- (id)undoMenuTitleForUndoActionName:(id)arg0; - method
- (void)undoNestedGroup; - property
@property(readonly) _NSAuxiliaryUndoManagerReference *_auxiliaryReference; - property
@property(readonly) BOOL canRedo; - property
@property(readonly) BOOL canUndo; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) long long groupingLevel; - property
@property BOOL groupsByEvent; - property
@property(readonly) unsigned long long hash; - property
@property unsigned long long levelsOfUndo; - property
@property(readonly) BOOL redoActionIsDiscardable; - property
@property(readonly, copy) NSString *redoActionName; - property
@property(readonly) unsigned long long redoCount; - property
@property(readonly, copy) NSString *redoMenuItemTitle; - property
@property(getter=isRedoing, readonly) BOOL redoing; - property
@property(copy) NSArray *runLoopModes; - property
@property(readonly) Class superclass; - property
@property(readonly) BOOL undoActionIsDiscardable; - property
@property(readonly, copy) NSString *undoActionName; - property
@property(readonly) unsigned long long undoCount; - property
@property(readonly, copy) NSString *undoMenuItemTitle; - property
@property(getter=isUndoRegistrationEnabled, readonly) BOOL undoRegistrationEnabled; - property
@property(getter=isUndoing, readonly) BOOL undoing;
Header
@interface NSUndoManager : NSObject <NSXPCListenerDelegate> { struct _NSRemoteUndoState _remote; _NSUndoStack *_undoStack; _NSUndoStack *_redoStack; NSArray *_runLoopModes; unsigned long long _flags; id _target; id _proxy; NSObject<OS_dispatch_source> *_automaticTerminationSource; } @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; @property (readonly) _NSAuxiliaryUndoManagerReference *_auxiliaryReference; @property (readonly) long long groupingLevel; @property (getter=isUndoRegistrationEnabled, readonly) BOOL undoRegistrationEnabled; @property BOOL groupsByEvent; @property unsigned long long levelsOfUndo; @property (copy) NSArray *runLoopModes; @property (readonly) BOOL canUndo; @property (readonly) BOOL canRedo; @property (readonly) unsigned long long undoCount; @property (readonly) unsigned long long redoCount; @property (getter=isUndoing, readonly) BOOL undoing; @property (getter=isRedoing, readonly) BOOL redoing; @property (readonly) BOOL undoActionIsDiscardable; @property (readonly) BOOL redoActionIsDiscardable; @property (copy, readonly) NSString *undoActionName; @property (copy, readonly) NSString *redoActionName; @property (copy, readonly) NSString *undoMenuItemTitle; @property (copy, readonly) NSString *redoMenuItemTitle; + (void)initialize; + (void)_endTopLevelGroupings; + (void)_setEndsTopLevelGroupingsAfterRunLoopIterations:(BOOL)runLoopIterations; - (BOOL)canUndo; - (BOOL)canRedo; - (BOOL)listener:(id)listener shouldAcceptNewConnection:(id)shouldAcceptNewConnection; - (void)undo; - (void)redo; - (id)description; - (void)beginUndoGrouping; - (void)registerUndoWithTarget:(id)target handler:(id /* block */)handler; - (void)dealloc; - (void)registerUndoWithTarget:(id)target selector:(SEL)selector object:(id)object; - (void)removeAllActions; - (id)init; - (void)_processEndOfEventNotification:(id)eventNotification; - (id)_undoActionInfo; - (void)__redoCommonDoSingle:(BOOL)__redoCommonDoSingle; - (id)undoMenuTitleForUndoActionName:(id)undoActionName; - (void)endUndoGrouping; - (id)redoMenuTitleForUndoActionName:(id)undoActionName; - (void)__redoSingle; - (void)undoNestedGroup; - (void)_assertNotAuxForPerformingAction; - (id)_auxiliaryReference; - (void)_cancelAutomaticTopLevelGroupEnding; - (void)_commitUndoGrouping; - (void)_connectionTerminated:(id)_connectionTerminated; - (void)_delayAutomaticTermination:(double)_delayAutomaticTermination; - (void)_endEventGroupingIfOpen; - (BOOL)_endUndoGroupRemovingIfEmpty:(BOOL)_endUndoGroupRemovingIfEmpty; - (void)_forwardTargetInvocation:(id)_forwardTargetInvocation; - (void)_linkWithAuxiliaryManager:(id)auxiliaryManager; - (BOOL)_linkWithAuxiliaryUndoManager:(id)auxiliaryUndoManager error:(id *)error; - (id)_methodSignatureForTargetSelector:(SEL)targetSelector; - (id)_newestUndoActionDate; - (id)_oldestUndoActionDate; - (void)_postCheckpointNotification; - (void)_prepareEventGrouping; - (id)_redoGroupIdentifier; - (void)_registerUndoGroupOnMainManagerIfNecessary; - (void)_registerUndoObject:(id)_registerUndoObject; - (void)_registerUndoWithTarget:(id)target handler:(id /* block */)handler; - (struct _NSRemoteUndoState *)_remoteState; - (void)_removeAllActionsForConnectionUUID:(id)connectionUUID; - (void)_rollbackUndoGrouping; - (void)_scheduleAutomaticTopLevelGroupEnding; - (void)_setGroupIdentifier:(id)groupIdentifier; - (BOOL)_shouldCoalesceTypingForText:(id)text :(id)arg; - (void)_teardownRemoteConnections; - (id)_undoGroupIdentifier; - (id)_undoStack; - (void)disableUndoRegistration; - (void)enableUndoRegistration; - (long long)groupingLevel; - (BOOL)groupsByEvent; - (BOOL)isRedoing; - (BOOL)isUndoRegistrationEnabled; - (BOOL)isUndoing; - (unsigned long long)levelsOfUndo; - (id)prepareWithInvocationTarget:(id)invocationTarget; - (BOOL)redoActionIsDiscardable; - (id)redoActionName; - (id)redoActionUserInfoValueForKey:(id)key; - (unsigned long long)redoCount; - (id)redoMenuItemTitle; - (void)removeAllActionsWithTarget:(id)target; - (id)runLoopModes; - (void)setActionIsDiscardable:(BOOL)actionIsDiscardable; - (void)setActionName:(id)actionName; - (void)setActionUserInfoValue:(id)actionUserInfoValue forKey:(id)forKey; - (void)setGroupsByEvent:(BOOL)event; - (void)setLevelsOfUndo:(unsigned long long)undo; - (void)setRunLoopModes:(id)runLoopModes; - (BOOL)undoActionIsDiscardable; - (id)undoActionName; - (id)undoActionUserInfoValueForKey:(id)key; - (unsigned long long)undoCount; - (id)undoMenuItemTitle; @end