updateWindowsItem(_:)
Updates the Window menu item for a given window to reflect the edited status of that window.
Declaration
func updateWindowsItem(_ win: NSWindow)Parameters
- win:
The window whose menu item is to be updated.
Discussion
You rarely need to invoke this method because it is invoked automatically when the edit status of an NSWindow object is set.