setIsVisible(_:) Sets the window’s visible state to the value you specify. Declarationfunc setIsVisible(_ flag: Bool) See AlsoSetting Scripting AttributessetIsMiniaturized(_:)setIsZoomed(_:)