Direct Collation usage
1. Set Height width
[View1 autosetdimension:aldimensionheight tosize:70.0];
[View1 autosetdimension:aldimensionwidth tosize:70.0];
2. Relative to Parent view
Aledgeinsets definsets = aledgeinsetsmake(20.0,20.0,20.0,20.0 );
[View1 autopinedgestosuperviewedgeswithinsets:d efinsets];
Equivalent to the following wording
[View1 Autopinedgetosuperviewedge:aledgeleft withinset:20.0];
[View1 Autopinedgetosuperviewedge:aledgeright withinset:20.0];
[View1 Autopinedgetosuperviewedge:aledgetop withinset:20.0];
[View1 Autopinedgetosuperviewedge:aledgebottom withinset:20.0];
In relation to a parent view, in addition to a
[View1 autopinedgestosuperviewedgeswithinsets:d efinsets excludingedge:aledgebottom] ;
3. Relative position of two views
[View2 Autopinedge:aledgetop toedge:aledgebottom ofview: View1 Withoffset:d efinsets. Bottom];
Purelayout (lightweight automatic layout)