I have simple question, what I can't find answer on google. How to make window of macOS Cocoa application dark? Is it able with XCode without coding or I must write Objective-C to do this. Image here.
Asked
Active
Viewed 202 times
1 Answers
0
First add this code to viewDidLoad:
self.window?.titlebarAppearsTransparent = true
And then place Visual Effect View on entire window and in window settings check Full Size Content View
TIP: To hide title of form use this code:
self.window.titleVisibility = NSWindowTitleVisibility.Hidden;

Community
- 1
- 1

Samuel Tulach
- 1,319
- 13
- 38