I am a beginner and am currently trying to make a method for a specific custom colour. I will be using it to change the background colours of certain buttons.
I am trying to make it so that I can simply type myButton.backgroundColor = [UIColor customColor];
instead of having to type myButton.backgroundColor = [UIColor colorWithRed:0.643 green:0.643 blue:0.643 alpha:1];
.