Skip to content

Instantly share code, notes, and snippets.

@charlesmchen
Last active December 23, 2015 03:49
Show Gist options
  • Select an option

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

Select an option

Save charlesmchen/6576309 to your computer and use it in GitHub Desktop.
// Add three views with a horizontal layout.
// This layout will only apply to these three subviews.
WeView *container = [[WeView alloc] init];
[[[container addSubviewsWithHorizontalLayout:@[
label,
imageView,
button,]
setMargin:5]
setSpacing:5];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment