I'm writing an app in SwiftUI, and have no trouble with normal UI. However, when a view's background is opposite to the app background color (e.g. use ...
I'm writing an app in SwiftUI, and have no trouble with normal UI. However, when a view's background is opposite to the app background color (e.g. use ...
I have created this function to pick color from image. But it usually chooses a Light Shade color that makes the UI so Ugly, I want it to Choose a ...
I have a MenuModel struc used to have a list of icons into a table as a menu: Menu appears but icons still white. I am unable to change colors usin ...
I'm using UIColorPickerViewController. When I use Sliders section, default value is display p3 like below an image. My app is using UIExtendedSRGBC ...
I am a bit confused. I have this script on each button and GameObject newButton is assigned to its own button. I am trying to tell the other buttons i ...
I tried the steps below to expeand UIColor, but it didn't work. At first, I added new color set in xcassets, and then add UIColor + Extension.swift ...
I have a SwiftUI view that applies a fill and shadow to a shape like this: I have found that the fill color I use for this view can affect the way ...
I wrote a big software, I tried to use 2 main colors for the whole software. I want to change the overall color of the software by pressing a button. ...
Question 1. Let's assume the selected color is #a85c40. Now, how can we generate the Material color with some nearby shade from that picked color. ...
I have a function that can return the color of a pixel by points I would like to write a function that could replace the color of a pixel by Point ...
I am programmatically setting the hex color with alpha but result is not looking as expected. Example: hex color #478295 with opacity 50% which is #80 ...
What are the label colors of these disabled SwiftUI buttons? I would like to use the colors in my own button styles so that they are consistent with t ...
I am writing UI tests from my watchOS project and currently looking how to fetch UIColor attribute from from UILabel and UIButton in XCUIText? Maybe s ...
I have sentence "This is my first test", I need to change for example word "first" to another colour. But this sentences will come from backend. So,i ...
I have JSON Data with an array of strings. When I decode this data I need to convert strings into ints and then use it for creating UIColors. But when ...
Say I have the following example code How could I go about specifying the color for each group e.g. if I want setosa to be yellow instead? It's e ...
. Answers to this question are eligible for a +50 reputation bounty. Jo ...
I just wanted to know how to change the opacity (alpha) of an asset color I have. When I try this UIColor(named: "something", alpha: 0.4), Xcode compl ...
I am following Stanfords' CS193p Developing Apps for iOS online course. I'm trying to do the Assignment 6 Memorize.pdf. It says to use this code bel ...
I have attached a rough sketch. The lines are deformed as the sketch was drawn manually just to illustrate the concept. As seen in the sketch, I have ...