Simplifying dynamic views in iOS