I can modify the toolbar thing on projectname.storyboard, but I can't find a way to edit the window that pops up when I click "About app name"
How do I modify the "About _app name_"?
You can create an infoWindow in IB with the content you need.
Then connect the about Menu item to this IBAction:
In this window, I also have a button (or a gesture on a label) to keep access to the standard About window, with version num and build num, through this IBAction:
or
Then connect the about Menu item to this IBAction:
Code Block @IBAction fileprivate func showinfos(_ sender: NSMenuItem) { infoWindow.makeKeyAndOrderFront(infoWindow) infoWindow.isWindowVisible = true // etc… }
In this window, I also have a button (or a gesture on a label) to keep access to the standard About window, with version num and build num, through this IBAction:
Code Block @IBAction func aboutVersion(_ sender: NSClickGestureRecognizer) { NSApp.orderFrontStandardAboutPanel(self) // This is the default action to which About app is connected to }
or
Code Block @IBAction func aboutVersion(_ sender: NSButton) { NSApp.orderFrontStandardAboutPanel(self) // This is the default action to which About app is connected to }
What is it about that window you wish to edit, exactly?
Style, tint, size, border, contents, app's name only...?
Style, tint, size, border, contents, app's name only...?