Top "Uicolor" questions

A UIColor object represents color and sometimes opacity (alpha value).

How to convert colors from one color space to another?

Is there a Cocoa Touch way to convert colors from one color space to another? At the end of this …

iphone core-graphics uicolor cgcolor cgcolorspace
Color in storyboard not matching UIColor

I am defining a color in code as [UIColor colorWithHue:32.0/360.0 saturation:0.88 brightness:0.97 alpha:1] If I try to set the same …

ios colors interface-builder uistoryboard uicolor
Objective-c - Getting least used and most used color in a image

Im trying to get the least used color, and the most used color from MP3 file's album artwork for a …

objective-c ios itunes uicolor
How to get inverse color from UIColor?

e.g. The inverse color from black should be white.

objective-c ios uicolor inverse
init(colorLiteralRed:,green:,blue:,alpha:) deprecated in Swift 4

let startingColorOfGradient = UIColor(colorLiteralRed: 255/255, green: 255/255, blue: 255/255, alpha: 1.0).cgColor let endingColorOFGradient = UIColor(colorLiteralRed: 251/255, green: 247/255, blue: 234/255, alpha: 1.0).cgColor let gradient: CAGradientLayer = CAGradientLayer() …

uicolor swift4
Wrong color in Interface Builder's color picker

I have an UIImageView with a brown image that will not always reach the top part. The UIImage view is …

xcode interface-builder uicolor color-picker
Changing font color of UIBarButtonItem

I tried to change the font color of the right bar button item to purple, but it still shows up …

swift uibutton uinavigationbar uibarbuttonitem uicolor
Odd Conversion between UIColor and CGColor

So here are the colors I am trying to convert from UIColor to CGColor: 001385 - R:0 G:19 B:133 ca000b …

ios objective-c uicolor cgcolor
How to convert `UIColor` to SwiftUI‘s `Color`

I want to use a UIColor as foregroundcolor for an object but I don’t know how to convert UIColor …

swift colors uicolor swiftui
How can I modify a UIColor's hue, brightness and saturation?

Lets say I have a UIColor UIColor *color = [UIColor redColor]; Now I want to modify the saturation/hue/brigthness, how …

iphone ios xcode uikit uicolor