Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Pod
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Masu

CI Status Version License Platform

Placeholder for iOS prototyping

Screenshot

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

// 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];

Category

[view showMasu];

Installation

Masu is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Masu"

Author

midnightSuyama, midnightSuyama@gmail.com

License

Masu is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.