会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Codeing
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2015年6月17日
Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project 'afasdf'. java.lang.NullPointerException 解决办法
摘要: 本文向大家讲解了Myeclipse错误:Errors occurred during the build. Errors running builder 'DeploymentBuilder' on project ...解决方法 ,感兴趣的同学参考下。问题描述:Errors occurred du...
阅读全文
posted @ 2015-06-17 14:01 Rui.peng
阅读(921)
评论(0)
推荐(0)
2015年5月6日
IOS 通知(实现及时聊天接受消息的现实)
摘要: 为什么要用通知?传递一个变化的数值。例子//接受消息-(void)xmppStream:(XMPPStream *)sender didReceiveMessage:(XMPPMessage *)message{ NSLog(@"%@说:%@",message.from,message...
阅读全文
posted @ 2015-05-06 13:04 Rui.peng
阅读(466)
评论(0)
推荐(0)
IOS 单例模式
摘要: 为什么需要单例模式?为了保持一个类只有一个实例(对象)如何实现代理模式?第一步:全局变量第二步:重写allocwithzone方法第三步:shared*** 方法例子:static XMPPServer *server = nil;@implementation XMPPServer//单例+(X...
阅读全文
posted @ 2015-05-06 13:01 Rui.peng
阅读(184)
评论(0)
推荐(0)
2015年4月9日
- (NSString *)description
摘要: return [NSString stringWithFormat:@"", self.class, self];return [NSString stringWithFormat:@" {answer: %@, icon: %@, title: %@, options: %@}", self.cl...
阅读全文
posted @ 2015-04-09 22:39 Rui.peng
阅读(200)
评论(0)
推荐(0)
2015年3月30日
3.30 学习笔记
摘要: 关闭键盘:self.num resginfirstResponder;让试图关闭见键盘self.view enditing:yes.h 文件 公有扩展.m文件 私有扩展 中书写私有的扩展IBaction 本质上是一个void 只不过多了一个 连线oc是一个动态语言编译正确 但是 有的时候无法运行UI...
阅读全文
posted @ 2015-03-30 22:42 Rui.peng
阅读(107)
评论(0)
推荐(0)
2015年3月29日
常用的 博客
摘要: http://blog.csdn.net/xunyn/article/details/8302787http://www.cnblogs.com/sonicit/p/3598830.html协议本身不实现任何方法,只是声明方法,使用协议的类必须实现协议方法。
阅读全文
posted @ 2015-03-29 10:59 Rui.peng
阅读(82)
评论(0)
推荐(0)
2015年3月25日
iOS 比较好的博客
摘要: 观察者模式的讲解:http://blog.jobbole.com/55505/
阅读全文
posted @ 2015-03-25 12:33 Rui.peng
阅读(112)
评论(0)
推荐(0)
2015年3月23日
iOS查看一段代码运行的时间
摘要: 如何快速的查看一段代码的执行时间。#defineTICKNSDate*startTime=[NSDatedate]#defineTOCKNSLog(@"Time:%f",-[startTimetimeIntervalSinceNow])在想要查看执行时间的代码的地方进行这么处理TICK//doyou...
阅读全文
posted @ 2015-03-23 19:48 Rui.peng
阅读(254)
评论(0)
推荐(0)
2015年3月20日
tableview 第一次可以查看tableview 当退出第二次却会出现Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]
摘要: 这里 错误的原因是因为没有加上以下代码:if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentif...
阅读全文
posted @ 2015-03-20 20:51 Rui.peng
阅读(238)
评论(0)
推荐(0)
iphone 设置全局变量的几种方法
摘要: 一般的软件 都有一个 登陆的功能,然后根据登陆的UserID 查看不同的信息,这也就意味着UserID 是一个 全局变量,之后的类我们都需要用到,所以 这也就需要定义 全局变量来解决问题,这里提供2种方法:第一种把全局变量设置到AppDelegate中使用很简单,在AppDelegate.h文件中 ...
阅读全文
posted @ 2015-03-20 20:48 Rui.peng
阅读(1256)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告