文鹏教育

博客园 首页 新随笔 联系 订阅 管理

2015年6月18日 #

摘要: UITextField *text = [[UITextField alloc]initWithFrame:CGRectMake(20, 20, 130, 30)]; //初始化textfield并设置位置及大小 text.borderStyle = UITextBorderStyleRounded... 阅读全文
posted @ 2015-06-18 15:37 zhoup 阅读(185) 评论(0) 推荐(0)

摘要: 1、创建CGRect rect = CGRectMake(100, 200, 50, 50);UILabel *label = [[UILabel alloc] initWithFrame:rect];2、text //设置和读取文本内容,默认为nillabel.text = @”文本信息”; //... 阅读全文
posted @ 2015-06-18 14:11 zhoup 阅读(178) 评论(0) 推荐(0)

2015年5月19日 #

摘要: http://www.cocoachina.com/industry/20140428/8248.html本文由@nixzhu翻译至raywenderlich的《grand-central-dispatch-in-depth-part-1》虽然 GCD 已经出现过一段时间了,但不是每个人都明了其主要... 阅读全文
posted @ 2015-05-19 16:08 zhoup 阅读(516) 评论(0) 推荐(0)

摘要: http://blog.csdn.net/jinzhu117/article/details/20615991首先,确保在release(Ad Hoc或者App Store)一个版本时,保存了对应的xxx.app和xxx.dSYM文件。其次,验证xxx.crash、xxx.app和xxx.dSYM三... 阅读全文
posted @ 2015-05-19 13:49 zhoup 阅读(240) 评论(0) 推荐(0)

2015年5月6日 #

摘要: (lldb) script import lldb.macosx.heap(lldb) malloc_info --stack-history 0x10010d680 阅读全文
posted @ 2015-05-06 09:26 zhoup 阅读(1087) 评论(0) 推荐(0)

2015年3月18日 #

摘要: NSURL *url = [NSURL URLWithString:@"http://www.baidu.com/s?tn=baiduhome_pg&bs=NSRUL&f=8&rsv_bp=1&rsv_spt=1&wd=NSurl&inputT=2709"]; NSLog(@"Scheme: %@... 阅读全文
posted @ 2015-03-18 16:13 zhoup 阅读(843) 评论(0) 推荐(0)

摘要: B手机:向A手机发送一条消息,等待A回复- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [self broadCast]; ... 阅读全文
posted @ 2015-03-18 14:57 zhoup 阅读(789) 评论(0) 推荐(0)

2015年2月12日 #

摘要: 转自:http://blog.csdn.net/cjj198561/article/details/38382889编译准备1.代码下载在mac下面执行:wget http://downloads.sourceforge.net/project/faac/faac-src/faac-1.28/faa... 阅读全文
posted @ 2015-02-12 16:18 zhoup 阅读(808) 评论(0) 推荐(0)

2015年2月11日 #

摘要: 开源xcode插件:规范注释生成器VVDocumenter1、类似eclipse 和 vs studio 在前面输入/// 后触发,自动生成代码注释,如图2、GitHub工程文件地址:https://github.com/onevcat/VVDocumenter-Xcode3.用Xcode打开工程,... 阅读全文
posted @ 2015-02-11 15:55 zhoup 阅读(586) 评论(6) 推荐(1)

2006年8月7日 #

摘要: 如何查看oracle的锁是sql语句引起的1、查看引起锁的session_idsync4j启动的进程select * from v$locked_object where os_user_name='sync4j'找到seesion_ID=1392、找到引起的sql语句SELECT a.username,a.machine,a.program,a.sid,a.serial#,a.status,c.... 阅读全文
posted @ 2006-08-07 16:29 zhoup 阅读(1401) 评论(0) 推荐(0)