自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 问答 (3)
  • 收藏
  • 关注

原创 iOS 画一个圆

1.画一个实线空心圆 //画实线大圆                CAShapeLayer *solidLine1 = [CAShapeLayer layer];                CGMutablePathRef solidPath1 = CGPathCreateMutable();                solidLine1.lineWidth = 1

2016-12-24 17:07:32 618

原创 ios 获取n个月前或者n个月后的日期

NSCalendar *calendar = [NSCalendar currentCalendar];NSRange range = [calendar rangeOfUnit:NSDayCalendarUnit inUnit:NSMonthCalendarUnit forDate:[NSDate date]];NSUInteger numberOfDaysInMonth = range

2016-12-15 16:37:54 897

转载 iOS UITableViewCell滑动删除

首先,我们初始化一个界面,以列表的形式展示1234567891011#pragma mark - 初始化UI- (void)initUI{    self.view.backgroundColor = RGB(242, 242, 247);

2016-12-08 14:41:57 379

原创 单独设置UicollectionView的一个cell的宽度

1.想单独改变一个cell的宽度,与其他的cell宽度不同,并且保持间距相等,需要封装一个BaseCollectionViewFlowLayout类.h文件#import @protocol BaseCollectionViewFlowLayoutDelegate UICollectionViewDelegateFlowLayout>@e

2016-12-04 17:06:04 2799

转载 layoutAttributesForElementsInRect: Logging only once for UICollectionViewFlowLayout cache mismatched

转自:http://codecloud.net/14916.html最近使用UICollectionView自定义布局的时候报了个提示,看着特别烦提示:2016-07-08 16:26:38.346 YiTong[27847:733016] Logging only once for UICollectionViewFlowLayout cache mismatched frame20

2016-12-04 14:34:05 1217

转载 解决XCode8 Protocol not available, dumping backtrace问题

转自:http://www.w2bc.com/article/177485一 问题描述nw_socket_set_common_sockopts setsockopt SO_NOAPNFALLBK failed: [42] Protocol not available, dumping backtrace: [x86_64] libnetcore-856.1.8

2016-12-04 14:18:39 1512

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除