iOS 扁平按钮:GBFlatButton

jopen 10年前

GBFlatButton 是一组扁平和轻量级的 iOS  UIButton 的实现。

GBFlatButton *button = [[GBFlatButton alloc] initWithFrame:CGRectMake(originX, originY, width, height)];  button.tintColor = [UIColor orangeColor]; // or import UIColor+GBFlatButton.h and use our cool colors  [button setTitle:@"An orange button" forState:UIControlStateNormal];  [self.view addSubview:button];

iOS 扁平按钮:GBFlatButton

项目主页:http://www.open-open.com/lib/view/home/1400567951159