diren5694
码龄9年
关注
提问 私信
  • 博客:7,249
    7,249
    总访问量
  • 暂无
    原创
  • 708,613
    排名
  • 0
    粉丝
  • 0
    铁粉
  • 加入CSDN时间: 2016-04-22
博客简介:

diren5694的博客

查看详细资料
  • 原力等级
    领奖
    当前等级
    0
    当前总分
    0
    当月
    0
个人成就
  • 获得1次点赞
  • 内容获得0次评论
  • 获得0次收藏
创作历程
  • 69篇
    2016年
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

356人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

集成百度地图的常见错误

(1)编译正常,运行报 [UIDevice uniqueGlobalDeviceIdentifier]: unrecognized selector sent to此时需要 other linker flags 添加 -all_load参数。 具体:Project ->build settings ->linking->Other Linker flag...
转载
发布博客 2016.02.08 ·
194 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

百度地图时候报错

项目中至少要有一个.mm文件 转载于:https://www.cnblogs.com/PJHome/p/5185048.html
转载
发布博客 2016.02.08 ·
235 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

本地推送通知UILocalNotification

1 - (IBAction)schedule { 2 // 1.创建本地推送通知对象 3 UILocalNotification *ln = [[UILocalNotification alloc] init]; 4 5 // 2.设置通知属性 6 // 音效文件名 7 ln.soundName = @"bu...
转载
发布博客 2016.02.06 ·
104 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ARC非ARC混合编程

1 将非arc转成arc   edit➡️convert➡️to objective-c ARC ☑️ 如果不成功试以下方法 2 target中build phases下compile source中非arc的标记为 -fno-objc-arc(如果文件过多,这种方法太笨,不太适合) 3 到处静态库:选中要导出的文件夹 file➡️new➡️project➡️ios下framew...
转载
发布博客 2016.02.06 ·
97 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios键盘监听

1 // 监听键盘 2 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShowAction:) name:UIKeyboardWillShowNotification object:nil]; 3 4 ...
转载
发布博客 2016.01.28 ·
95 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios大文件下载之开始和暂停

1 #import "HMViewController.h" 2 3 @interface HMViewController () 4 @property (weak, nonatomic) IBOutlet UIProgressView *progressView; 5 /** 6 * 写数据的文件句柄 7 */ 8 @prop...
转载
发布博客 2016.01.25 ·
130 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios大文件下载

1 #import "HMViewController.h" 2 3 @interface HMViewController () 4 @property (weak, nonatomic) IBOutlet UIProgressView *progressView; 5 /** 6 * 写数据的文件句柄 7 */ 8 @prop...
转载
发布博客 2016.01.25 ·
76 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios解析json

if (_helps == nil) { NSString *path = [[NSBundle mainBundle] pathForResource:@"help.json" ofType:nil]; NSData *data = [NSData dataWithContentsOfFile:path];...
转载
发布博客 2016.02.04 ·
81 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios网络NSURLConnection

1 #import "HMViewController.h" 2 #import "MBProgressHUD+MJ.h" 3 4 @interface HMViewController () <NSURLConnectionDataDelegate> 5 @property (weak, nonatomic) IBOutlet UIText...
转载
发布博客 2016.01.25 ·
115 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios核心动画之专场动画

1 #import "NJViewController.h" 2 3 @interface NJViewController () 4 @property (weak, nonatomic) IBOutlet UIImageView *iconView; 5 - (IBAction)nextBtnClick:(id)sender; 6 - (IBAction)...
转载
发布博客 2016.01.24 ·
93 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios网络NSURLConnection POST

1 #import "HMViewController.h" 2 #import "MBProgressHUD+MJ.h" 3 4 @interface HMViewController () 5 @property (weak, nonatomic) IBOutlet UITextField *usernameField; 6 @property (weak...
转载
发布博客 2016.01.25 ·
107 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios核心动画之关键帧动画

1 #import "NJViewController.h" 2 3 @interface NJViewController () 4 5 @property (weak, nonatomic) IBOutlet UIView *customView; 6 - (IBAction)btnClick:(id)sender; 7 @end 8 9 ...
转载
发布博客 2016.01.24 ·
84 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios UIView封装动画

1 #import "NJViewController.h" 2 3 @interface NJViewController () 4 @property (weak, nonatomic) IBOutlet UIView *cutomView; 5 6 @end 7 8 @implementation NJViewController 9 ...
转载
发布博客 2016.01.24 ·
86 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

ios自定义layer

两种方式 1 #import <QuartzCore/QuartzCore.h> 2 3 @interface NJLayer : CALayer 4 @end 5 6 7 #import "NJLayer.h" 8 9 @implementation NJLayer 10 11 // 重写该方法, 在该方法中给layer...
转载
发布博客 2016.01.24 ·
74 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios核心动画之组动画

1 // 平移动画 2 CABasicAnimation *a1 = [CABasicAnimation animation]; 3 a1.keyPath = @"transform.translation.y"; 4 a1.toValue = @(100); 5 // 缩放动画 6 CABasicAnimatio...
转载
发布博客 2016.01.24 ·
80 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios新建CALayer

1 // 如果一个控制是另外一个控件的子控件, 那么这个控件中的layer也是另外一个控件的子layer 2 NSLog(@"star - %@", self.view.layer.sublayers); 3 CALayer *layer = [CALayer layer]; 4 layer.backgroundColor = [UIColor...
转载
发布博客 2016.01.24 ·
71 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios核心动画之图片抖动

1 #import "NJViewController.h" 2 3 #define angle2Radian(angle) ((angle) / 180.0 * M_PI) 4 5 @interface NJViewController () 6 7 @property (weak, nonatomic) IBOutlet UIImageView *...
转载
发布博客 2016.01.24 ·
87 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios截屏

1 - (IBAction)captureView:(UIButton *)sender { 2 3 // 延迟1 ~2 秒之后再截屏 4 dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue...
转载
发布博客 2016.01.23 ·
93 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios核心动画之基本动画

Core Animation,中文翻译为核心动画,它是一组非常强大的动画处理api,使用它能做出非常绚丽的动画效果,而且往往事半功倍。也就是说食用少量的代码就能实现非常强大的功能。 Core Animation可以用在Mac OS X和IOS平台 Core Animation的动画执行过程都是在后台操作的,不会阻塞主线程。 要注意的是,Core Animation是直接...
转载
发布博客 2016.01.24 ·
105 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ios图片剪切之圆形头像

1 #import <UIKit/UIKit.h> 2 3 @interface UIImage (NJ) 4 /** 5 * 生成头像 6 * 7 * @param icon 头像图片名称 8 * @param border 头像边框大小 9 * @param color 头像边框的颜色 10 * 11 ...
转载
发布博客 2016.01.23 ·
92 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多