1 2 3 4 5 6 7 8 |
var label_ : UILabel! label_.frame = CGRectMake(0, 0 , 100, 44) label_.font = UIFont.systemFontOfSize(24) label_.backgroundColor = UIColor.clearColor() label_.text = "ラベル" label_.textAlignment = NSTextAlignment.Left label_.addSubview(self.view) |
1 |
let label_ : UILabel = UILabel(frame: CGRectMake(0,0,100,44)) |