- 博客(3)
- 收藏
- 关注
原创 网上的常见的画虚线方法~
CAShapeLayer *shapeLayer = [CAShapeLayerlayer]; [shapeLayer setBounds:self.firstView.frame]; [shapeLayer setPosition:self.firstView.center]; [shapeLayer setFillColor:[UICo
2016-05-06 20:37:57
632
转载 NSOperationqueue
http://blog.cnbluebox.com/blog/2014/07/01/cocoashen-ru-xue-xi-nsoperationqueuehe-nsoperationyuan-li-he-shi-yong/目前在 iOS 和 OS X 中有两套先进的同步 API 可供我们使用:NSOperation 和 GCD 。其中 GCD 是基于 C 的底层的 API ,而 NS
2016-05-06 13:45:09
282
原创 UiViewController 里frame和bounds取值有误
UiViewController frame和bounds 在生命周期里的变化UiViewController self.view.frame.size.width 和self.view.bounds.size.width 在viewdidLoad里的宽度会和xib里的宽度一样,不会得到手机屏幕适配后的长度。 即xib 上view的宽度为320 在viewDidLoad里就是320 。但是
2016-05-04 16:20:11
596
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅