![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
swift-UI
笔者的锋芒
欢迎iOS、swift以及各种it知识的交流。。。
展开
-
swift之UILabel
// 背景颜色self.view.backgroundColor = UIColor.groupTableViewBackgroundColor()// UILabel的创建let textLabel = UILabel()textLabel.frame = CGRectMake(10, 100, self.view.frame.size.width-20, 200)textLabel.ba原创 2015-03-09 10:19:26 · 923 阅读 · 1 评论 -
swift之UIButton
// 创建let testButton = UIButton()testButton.frame = CGRectMake(10, 100, self.view.frame.width-20, 44)testButton.backgroundColor = UIColor.lightGrayColor()// 设置倒角等testButton.layer.cornerRadius = 10t原创 2015-03-09 14:26:37 · 768 阅读 · 0 评论