This does almost what I wanted except I coded it a little differently:
if let window = NSApp.windows.first {
if window.isZoomed == false {
window.toggleFullScreen(nil)
}
}
At last!, sha921, it works I wonder if someone at Apple would care to enlighten us as to why removing the Color Swatch, enhances the iOS developer experience.
This does almost what I wanted except I coded it a little differently:
if let window = NSApp.windows.first {
if window.isZoomed == false {
window.toggleFullScreen(nil)
}
}
At last!, sha921, it works I wonder if someone at Apple would care to enlighten us as to why removing the Color Swatch, enhances the iOS developer experience.