Tutorial 1: Overview
The core of WeView 2 is the WeView, a UIView that offers a variety of layouts for its subviews.
Here is an example WeView that has three subviews: a UILabel, a UIImageView and a UIButton.
- Declarative WeViews use a declarative syntax that operates on a higher level than fixed sizes and positioning.
- Properties Layout behavior is specified by setting properties on layouts and/or subviews. In this case, the layout has 5pt margins and 5pt spacing.
- Multiple Layout Types These three subviews use a horizontal layout. WeViews have a variety of built-in layouts and support custom layouts as well.
Next: Tutorial 2: Installing