Framework for view layer in iOS