cocoa - making a UIImageView class act like a UIButton
- by Mike
For some reason that will take too much time to explain, I have to create a UIImageView based class that has some properties of a button.
Imagine a class like the UISwitch (no I cannot base my class on the UISwitch) with two states, on and off. WHen the user selects one state, it runs a method like a button that was clicked and the method…