NSColor equivalent of UIColor underPageBackgroundColor to use on Mac OS X?
I'd like to use one of the iOS patterns (underPageBac开发者_高级运维kgroundColor), defined in UIColor for a Mac OS X app. Are those patterns defined in UIColor available on OS X? I didn't see anything like them in NSColor.
Basically, I'd like to use [UIColor underPageBackgroundColor] in a plain Cocoa app.
I could use a screenshot of the pattern and use [NSColor colorWithPatternImage:...], but I'd like to use the correct API (if any).

As of OS X Mountain Lion, there is now an official under page background color method on NSColor.
加载中,请稍侯......
精彩评论