Masu 0.1.3

Masu 0.1.3

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布上次发布2014年12月

midnightSuyama 维护。




Masu 0.1.3

  • midnightSuyama

iOS 原型设计占位符

Screenshot

使用

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

// UIView demo
Masu *masu = [[Masu alloc] initWithFrame:CGRectMake(0, 300.0f, 220.0f, 100.0f)];
masu.backgroundColor = [UIColor colorWithRed:0 green:0.5f blue:0.5f alpha:1];
masu.text            = @"View";
[self.view addSubview:masu];

// UIImage demo
UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
[btn setFrame:CGRectMake(220.0f, 300.0f, 100.0f, 100.0f)];
[btn setImage:[Masu imageWithSize:btn.frame.size backgroundColor:[UIColor grayColor] labelText:@"Button"] forState:UIControlStateNormal];
[self.view addSubview:btn];

分类

[view showMasu];

安装

作者

midnightSuyama, [email protected]

许可证

Masu 可在 MIT 许可证下获得。有关更多信息,请参阅 LICENSE 文件。