Change background color of a Window

Hello


I am making an app for OS X with Cocoa and Swift 2 with Xcode and I want to change the Windows background color with alpha but I didn't find any tutorial to do it, how to do it ?

I don't know how to call the Window from the code and how to set his background color with alpha value...

Here is my Add Delegate Class with hierarchy

User uploaded file

Thank you.

Mac mini (Late 2014), OS X El Capitan (10.11)

Posted on Nov 17, 2015 1:40 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Change background color of a Window

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.