Jul 30, 2023
Nice, but you should look at creating button styles as implemented in iOS 15.
https://developer.apple.com/videos/play/wwdc2021/10064/
Also, hard coding UIColors should be avoided in favor of using color asset tables, which also provides support for color variations when the device switches to light/dark mode.