Quantcast
Channel: Swift + NSViewController background color (Mac App) - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Swift + NSViewController background color (Mac App)

$
0
0

I am trying to change the background color of my View. The View Controller class is NSViewController type.

How this can be done? In iOS UIKit (UIViewController) there is self.view.backgroundColor, but NSViewController doesn't have that.

And second problem is how can I change the color of the applications Title Bar? I think the background color doesn't affect to that.

Mac application, language Swift. XCode 6.1.


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images