I need to know if it is possible to override drawRect for a UI class globally. Something along the lines of the “appearance” class property. Essentially I need to use my own drawing routine for all buttons in the app. Preferably I don’t want to inherit and have to set the class type on each button in the storyboard.
Share
Use a Class Category
You’ll likely use a class other then UIView; like something that a button is built upon.