BPFormsiOS 动态表单
BPForms 是 iPhone/iPad 的动态表单,可以通过编码来创建表单。
示例代码:
BPFormButtonCell *signUpCell = [[BPFormButtonCell alloc] init]; signUpCell.button.backgroundColor = [UIColor blueColor]; [signUpCell.button setTitle:@"Sign Up" forState:UIControlStateNormal]; signUpCell.button.layer.cornerRadius = 4.0; signUpCell.button.layer.masksToBounds = YES; signUpCell.buttonActionBlock = ^(void){ NSLog(@"Button pressed"); };
评论