I need to convert a string input from UI to a hexadecimal number in objective c. The string is an HTML color code like “ff0000” (the ‘#’ will be dealt with diagrammatically) and it is supposed to be converted to the number ff0000 in order to provide color selection. Alternatively, is there a color chooser in objective c? didn’t find one in the xib objects.
Share
From Objective C parse hex string to integer
or using “c”: