ios开发随记
文章平均质量分 57
sisitwo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UITableViewCell标识符说明
if(indexPath.row==outArrayRow) { cell.accessoryType=UITableViewCellAccessoryCheckmark; /* UITableViewCellAccessoryCheckmark 一个选择的小钩钩原创 2014-12-01 14:22:12 · 497 阅读 · 0 评论 -
AFNetworking中UIImageView+AFNetworking等清除缓存方法
在UIImageView+AFNetworking的头文件中加入静态方法UIImageView+AFnetworking.h + (void)clearCache;+ (void)clearCacheWithURL:(NSURL *)url;UIImageView+AFNetworking.m//清除所有缓存+ (void)clearCache{原创 2015-11-02 16:10:16 · 3496 阅读 · 1 评论 -
ios 获取日期(年、月、日、星期、时、分、秒)
//+(NSDictionary *)getTimeFromDate:(NSDate *)date{ NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar]; NSLocale *zhLocale = [[NSLocale alloc] initWith原创 2015-11-02 16:34:52 · 711 阅读 · 0 评论 -
ios 定位经纬度中国国内修正
CommonMapWGS.h#import #import #import "MyAnnotation.h"@interface CommonMapWGS : NSObject+(CLLocationCoordinate2D)wgs84ToGcj02:(CLLocationCoordinate2D)wgCoord;@endCommonMapWGS.m#import "C原创 2015-11-02 16:37:59 · 495 阅读 · 0 评论 -
ios 画虚线方法
CAShapeLayer *shapeLayer = [CAShapeLayer layer]; [shapeLayer setBounds:self.lineLayer.bounds]; [shapeLayer setPosition:CGPointMake(CGRectGetWidth(self.lineLayer.frame), CGRectGetHeight(self.li原创 2016-12-29 09:05:26 · 349 阅读 · 0 评论
分享