Skip to content

Instantly share code, notes, and snippets.

@charlesmchen
Created September 15, 2013 20:02
Show Gist options
  • Select an option

  • Save charlesmchen/6573942 to your computer and use it in GitHub Desktop.

Select an option

Save charlesmchen/6573942 to your computer and use it in GitHub Desktop.
WeView *container = [[WeView alloc] init];
[[[[[container addSubviewsWithHorizontalLayout:@[
label,
imageView,
button,]
setMargin:5]
setSpacing:5]
setHAlign:H_ALIGN_LEFT]
setVAlign:V_ALIGN_TOP];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment