Type Property 型プロパティ

NSUndoManagerWillCloseUndoGroup

Posted before an NSUndoManager object closes an undo group, which occurs in the implementation of the endUndoGrouping() method. NSUndoManagerオブジェクトがアンドゥグループを閉じる前に投函されます、それはendUndoGrouping()メソッドの実装において発生します。

Declaration 宣言

static let NSUndoManagerWillCloseUndoGroup: NSNotification.Name

Discussion 議論

The notification object is the NSUndoManager object. Prior to OS X v10.7 this notification did not contain a userInfo dictionary. In macOS 10.7 and later the userInfo dictionary may contain the NSUndoManagerWillCloseUndoGroupNotification key, with a NSNumber boolean value of YES, if the undo group as a whole is discardable. 通知オブジェクトは、NSUndoManagerオブジェクトです。OS X v10.7より前この通知はuserInfo辞書を含みませんでした。macOS 10.7以降ではユーザ情報辞書はNSUndoManagerWillCloseUndoGroupNotificationキーを含むかもしれません、YES のNSNumberブール値で、もしアンドゥグループが全体として廃棄可能ならば。

See Also 参照

Foundation ファウンデーション