我想改变我的视图的背景颜色.View Controller类是NSViewController类型.
NSViewController
怎么做到这一点?在iOS UIKit(UIViewController)中有self.view.backgroundColor,但NSViewController没有.
UIViewController
self.view.backgroundColor
第二个问题是如何更改应用程序标题栏的颜色?我认为背景颜色不会对此产生影响.
Mac应用程序,语言Swift.XCode 6.1.
background colors nsviewcontroller swift
background ×1
colors ×1
nsviewcontroller ×1
swift ×1