- 博客(19)
- 资源 (29)
- 收藏
- 关注
转载 归档
NSArray *myArray1;NSArray *myArray2;NSMutableString *tmpStr;NSMutableString *string1;NSMutableString *string2;NSMutableString *string3;NSData *buffer;string1 = [NSMutableString strin
2012-03-31 16:14:30 221
原创 dic 深度复制???
NSDictionary *dic = [[NSDictionary alloc] initWithObjectsAndKeys: [NSMutableString stringWithString:@"firstValue"],@"first", [NSMutableString string
2012-03-31 15:53:58 670
原创 NSString 测试
NSString *text0 = [[NSString alloc] initWithCString:"abcdef0"]; //text0 ,text1,text2,text3,text6,text7 各自有指向的内存。 NSString *text1 = [[NSString alloc] initWithCString:"abcdef0"]
2012-03-31 09:42:38 277
转载 ios 设计
http://peixun.eol.cn/company/company_article_detail.php?articleid=17657 10个迷惑新手的Cocoa, Objective-c开发难点和问题因为有自己的软件要开发,所以我只能忙里偷闲过来接着写这篇教程。大家莫怪。请按上面的最后更新时间算。原文地址http://lianxu.me/blog/201
2012-03-31 00:02:33 271
转载 破 解
http://peixun.eol.cn/company/company_article_detail.php?articleid=17657
2012-03-30 23:55:34 193
转载 破解
http://peixun.eol.cn/company/company_article_detail.php?articleid=17657
2012-03-30 23:55:14 334
转载 objectc-c 内存
http://kb.cnblogs.com/a/2284690/ 在我的理解来说: 对象(object)即一块内存,本文要探讨的是一个Objective-C对象在内存的布局(layout)问题,水果的官方文档有说,一个类(class)如果不需要从NSObject继承其某些特定的行为是不用继承NSObject的,这里我将讨论限制在继承了NSObject的类的对象范围内。首先来看一下,NSO
2012-03-30 17:56:08 1433
原创 Ios 消息处理
1 ,系统接收event 事件,发送给UIApplication实例,UIApplication调用sendEvent 发送给UIWindow是,UIWindows调用Sendevent 发送给event 第一处理者。event 通过 [event allTouches] 获得要传递的第一响应者。2 第一响应者获得消息后 沿着消息处理链 流动,直到UIApplicatio
2012-03-30 09:49:58 1016
翻译 GCD 学习 记录
派发源 的创建 及 派发源启用,挂起,取消。Creates a new dispatch queue to which blocks can be submitted queue 用于提交代码快。void InstallSignalHandler(){ // Make sure the signal does not terminate the a
2012-03-28 14:37:51 481
转载 CFReadStream
static void ReadStreamClientCallBack(CFReadStreamRef readStream, CFStreamEventType type, void *clientCallBackInfo){ NSLog(@"call Back"); UInt8 buffer[1024*40]; NSInteger bytesRe
2012-03-27 09:56:55 1444
原创 ASIHTTP 代码品
Boolean CFReadStreamSetClient(CFReadStreamRef stream, CFOptionFlags streamEvents, CFReadStreamClientCallBack clientCB, CFStreamClientContext *clientContext);注册stream 感兴趣的streamEvents 的CFReadSt
2012-03-26 10:40:17 1215
转载 google 天气 xml 解析
NSString *weatherRequestUrlStr = [NSString stringWithFormat: @"http://www.google.com/ig/api?hl=zh-cn&weather=%@", [@"上海" s
2012-03-22 18:38:24 437
原创 排序方法
// sort.cpp : Defines the entry point for the console application.//#include "stdafx.h"void sort(int numArr[],int n){ for(int i =0;i { for(int j = 0;j { if(numArr[j] >numArr[j+1]
2012-03-18 00:18:59 177
原创 创建,查询,单向链表
#include using namespace std;struct Node{ Node *next; int number;};//创建单向链表Node * create(int n) { Node *head = NULL,*p1 = NULL,*p2 = NULL; for(int i=0;i { p2 = new No
2012-03-17 09:41:58 234
原创 http wrap
https://github.com/nfarina/webrequest https://github.com/lukhnos/LFWebAPIKithttps://github.com/AFNetworking/AFNetworkinghttps://github.com/ShareKit/ShareKit //分享数据 到facebook twitte
2012-03-14 22:29:54 359
转载 NSURlConnect outtime
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://www.baidu.com"]]; NSLog(@"default time out %f(GET)", request.timeoutInterval); request.timeoutInt
2012-03-14 20:01:25 374
转载 网盘
真是不用不知道,金山快盘太方便啦!文档、照片,只要放在快盘里面,姑且不说自动同步不怕丢失,电脑、手机、iPad想啥时候看就啥时候看!你还没用,真是太遗憾啦!力荐啊,亲!http://www.kuaipan.cn/index.php?ac=account&op=register&channel=k5vj55
2012-03-13 20:06:45 281
原创 apple 参考地址
苹果并发操作https://developer.apple.com/library/ios/#documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008091https://developer.apple
2012-03-06 13:11:50 347
TMGBusUpdConfCallBohr121604final
2008-08-27
AT&T汇编语言与GCC内嵌汇编简介
2008-08-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人