gpt4 book ai didi

swift - 像 iOS 一样的 Mac OS X 全局色调颜色

转载 作者:搜寻专家 更新时间:2023-11-01 05:38:36 25 4
gpt4 key购买 nike

是否有任何可能的方法在 OS X 中设置全局色调颜色。如果我想在像 NSTabView 这样的 Cocoa 控件上设置品牌颜色。我是怎么做到的?

最佳答案

如果您需要在您的应用中更改它

class NSAppearance : NSObject, NSCoding Description An NSAppearance object represents a file that specifies a standard appearance that applies to a subset of UI elements in an app. An app can contain multiple appearance files and—because NSAppearance conforms to NSCoding—you can use Interface Builder to assign UI elements to an appearance.

关于swift - 像 iOS 一样的 Mac OS X 全局色调颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33780485/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com