Create ios layout in a declarative way.