Top "Uicolor" questions

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

How can we use Assets Catalog Color Sets?

I usually use custom UIColors on iOS using extensions with Swift, but now with iOS 11/ Xcode 9 we can create Colors …

swift uicolor asset-catalog ios11 xcode9-beta
How do I make my own custom UIColor's other than the preset ones?

I want to make my own RGB colors that are UIColors and that I could use just like UIColor blackColor …

ios iphone uicolor
How to initialize UIColor with white color

I am trying to initialize UIColor instance with whiteColor and I am not able to do it. The screen appears …

ios objective-c uicolor
Change color of translucent black UINavigationBar

I stumbled upon this many times, never found a solution. A UINavigationController's navigationBar can be set to black translucent like: …

uinavigationcontroller uinavigationbar uicolor translucency
How to get the RGB Code (INT) from an UIColor in Swift

I would like to get the RGB Value of an UIColor in Swift: let swiftColor = UIColor(red: 1, green: 165/255, blue: 0, alpha: 1) …

swift rgb uicolor
UIColor clearColor

The documentation says the clearColor's grayscale and alpha = 0. What does that actually mean? Is it just a color to match …

iphone objective-c uicolor
What's the default color for placeholder text in UITextField?

Does anyone know what color a UITextField's placeholder text is, by default? I'm trying to set a UITextView's text to …

ios uitextfield uicolor
ios: colorWithPatternImage , stretch image full screen

I have one view , and want set backGroudColor for this view by UIImage. The code as : self.backgroundColor = [UIColor colorWithPatternImage:[…

iphone ios uicolor
What is the UIColor of the default UITableView separator?

Can anyone tell me the UIColor name or exact RGBA for the default iPhone UITableView separator? It looks like a …

iphone ios uitableview uicolor
How to access the CGColor property of UIColor in CGContextSetFillColorWithColor?

CGContextSetFillColorWithColor(g, [UIColor greyColor].CGColor); I'm trying to follow O'Reilly's book, iPhone Game Development, but on page 73 Chapter 3 I get …

iphone objective-c uicolor cgcolor