nscolor
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 anythi[详细]
2023-04-12 05:49 分类:问答setBackgroudColor to NSView
What I miss? color won\'t change. #import \"controller.h\" #import \"backgroundView.h\" @implementation controller[详细]
2023-03-25 03:00 分类:问答How Can I Change NSButton Color?
I have been using the setBackgroundColor method to change the NSButton colour, but my question is, are there any other methods I could use to change t开发者_运维知识库he colour of an NSButton other th[详细]
2023-03-24 04:35 分类:问答NSColor: colorWithDeviceRed... is not working on second monitor
In order to be able to calibrate a monitor, I must be able to drive it in device RGB values. In order to do this I create a NSColor by:[详细]
2023-03-21 05:52 分类:问答How do I change NSString color?
I\'m trying to make an app for the mac that has a user interface similar to an instant messenger. So far I have a text field, text view and a button, where everything is successfully connected in the[详细]
2023-03-20 09:04 分类:问答NSColor colorwithpatternimage paints NSView in black color
I\'m creating a NSColor using colorWithPatternImage as it shown in Apple example: - (id)initWithFrame:(NSRect)frame {[详细]
2023-03-04 14:11 分类:问答NSColor | Creating Color from RGB Values
In my application, i will get RGB Values as a unsigned character so it will not be more then 255, I am using NSColor API to create the color and will make use of it to draw the font and background co[详细]
2023-02-12 16:34 分类:问答Objective-C save NSColor in NSUserDefaults
How do you save the color of the dot so that when the app is opened and closed the dot is the color it was last set to by the user?[详细]
2023-02-11 01:16 分类:问答NSView Not updating?
Im working on a drag n\' drop view and found some handlers for drag and drop actions on the web. I want to make it so it turns blue when the user drags a file over the drag and drop area and gray agai[详细]
2023-01-06 21:13 分类:问答Are NSColors like tungsten and steel also available?
I know C开发者_如何学Goocoa gives you whiteColor, blackColor, darkGrayColor, but do they also have the colors from in Apple\'s color panel? With colors like \"Snow\", \"Tungsten\", \"Steel\", \"Tin\"[详细]
2022-12-26 07:47 分类:问答