http://morizyun.github.io/blog/bbutton-bootstrap-faicon-flat-objectivec/
のサイトで紹介されているBButtonを使ったiPhoneアプリを作りたいと思っています。
-(void) layoutSubviews { [super layoutSubviews]; CGRect frame = CGRectMake(10, 100, 300, 30); BButton *btn = [[BButton alloc] initWithFrame:frame type:BButtonTypeInfo style:BButtonStyleBootstrapV3]; [btn setTitle:@"OK" forState:UIControlStateNormal]; [self.view addSubview:_submitButton]; }
これをswiftに書き直すとどのような形になるか教えていただけると幸いです。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。