How to create a reusable button class with a stack view in UIKit? – Ios swift
I'm using a class to build a reusable button (image below) that uses a stack view to position two labels vertically, and allows me to configure both labels' text when called. I tried to add "label" and "subLabel" into a…