I'm trying to build a IBDesignable View with a fixed aspect ratio. The goal is to be able to just assign the custom class and then be able to move and resize the view in Interface Builder while maintaining a set aspect ratio. Note: This means WITHOUT adding an Aspect Ratio constraint on the view with Interface Builder. I want a widget that just works.
Any ideas?