Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save charlesmchen/6652084 to your computer and use it in GitHub Desktop.
WeView *weView = [[WeView alloc] init];
[[[[weView addSubviewsWithHorizontalLayout:@[
[DemoFactory createLabel:@"Welcome" fontSize:16.f],
[DemoFactory createLabel:@"To" fontSize:24.f],
[DemoFactory createLabel:@"WeView" fontSize:32.f],
]]
setVMargin:10]
setHMargin:20]
setSpacing:5];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment