Top "Uicolor" questions

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

How to access extension of UIColor in Swift?

I am very new to swift and trying to create an extension of UIColor class as extension UIColor{ func getCustomBlueColor() …

ios swift extension-methods uicolor
Get RGB value from UIColor presets

I my application I pass RGB color value to server. My app uses UIColor predefined values, like [UIColor grayColor], [UIColor …

iphone objective-c uicolor cgcolorspace
Extract RGB Values From UIColor

I have seen people do this in objective-c, but I am having trouble with this in swift. I have gotten …

ios swift swift3 rgb uicolor
UIColor not working with RGBA values

I am trying to change the text colour in a UITextField using the following code (RGBA value) however it just …

ios swift uicolor
Add a gradient on UIImageView

I am trying to add a sublayer on my UIImageView but it doesn't work. I have a set of 10 images …

ios uiimageview swift3 uicolor cagradientlayer
Drawing colored text in UIView's -drawRect: method

I am trying to draw colored text in my UIView subclass. Right now I am using the Single View app …

ios uikit drawrect uicolor nsattributedstring
Calculate the color at a given point on a gradient between two colors?

So this is essentially the method I would like to write (in Objective-C/Cocoa, using UIColors, but I'm really just …

ios colors gradient uicolor
Use Hex color in SwiftUI

in UIKit we could use an Extension to set hex color to almost everything. https://www.hackingwithswift.com/example-code/uicolor/…

ios uicolor swiftui
rgb(34, 34, 34) to UIColor

I have a RGB string in the form rgb(34, 34, 34). I want to parse it to a UIColor using iOS. I …

ios regex uicolor
How to get RGB components of a custom color in ios

I would like to set custom color programmatically using the method [UIColor colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)…

iphone ios uicolor color-scheme color-picker