上一页 1 ··· 3 4 5 6 7 8 9 下一页

2012年3月31日

core data firing fault

摘要: 摘自:pro core data for iosCore Data uses the term firing faults when it must pull the data from the persistent store that a fault points to and then put it into memory. Core Data has ‘‘fired’’ off a req... 阅读全文

posted @ 2012-03-31 15:02 kiao295338444 阅读(198) 评论(0) 推荐(0) 编辑

2012年3月28日

TCP/IP SOCKET HTTP解惑

摘要: TCP/IPSOCKET HTTP 转自:http://www.cocoachina.com/bbs/read.php?tid=93350&page=1 感谢xinde0908网络七层由下往上分别为物理层、数据链路层、网络层、传输层、会话层、表示层和应用层。其中物理层、数据链路层和网络层通常被称作媒体层,是网络工程师所研究的对象;传输层、会话层、表示层和应用层则被称作主机层,是用户所面向... 阅读全文

posted @ 2012-03-28 18:07 kiao295338444 阅读(428) 评论(0) 推荐(1) 编辑

2012年3月22日

修改UIAlertView背景

摘要: 转自:http://www.cocoachina.com/bbs/read.php?tid=11741 感谢bright修改了一下,下面的代码能达到原来的效果 UIAlertView *theAlert = [[[UIAlertView alloc] initWithTitle:@"Atention" message: @"I'm a Chinese!" delegate:nil cancelB... 阅读全文

posted @ 2012-03-22 09:58 kiao295338444 阅读(376) 评论(1) 推荐(0) 编辑

2012年3月12日

iPhone应用开发之NSRunLoop概述

摘要: 转:http://mobile.51cto.com/iphone-282616.htm其实NSRunLoop的本质是一个消息机制的处理模式。如果你对vc++编程有一定了解,在windows中,有一系列很重要的函数SendMessage,PostMessage,GetMessage,这些都是有关消息传递处理的API。AD:iPhone应用开发中关于NSRunLoop的概述是本文要介绍的内容,NSR... 阅读全文

posted @ 2012-03-12 22:35 kiao295338444 阅读(202) 评论(0) 推荐(0) 编辑

多线程操作数据库 (CoreData)

摘要: 转:http://linwwwei.iteye.com/blog/12965591: 主线程修改了数据库的某一条记录,但是子线程没有发生变化,反过来一样的问题。这种情况一般是发生在app有多个NSManagedObjectContext,两个线程分别对其进行了读写操作。 2: 有时候程序会莫名其妙的crash掉,这个有很多原因: a: 有时候是因为两个线程同时读写数据库中的同一条记录。 b:... 阅读全文

posted @ 2012-03-12 11:50 kiao295338444 阅读(1115) 评论(1) 推荐(1) 编辑

2012年3月9日

UIViewController的生命周期

摘要: 转自:http://www.cocoachina.com/newbie/basic/2011/1219/3738.html下面是UIViewController从创建到销毁的生命周期:1、创建UIViewController。我们可以直接手写代码生成一个UIViewController也可以通过XIB生成一个UIViewController。通过- (id)initWithNibName:(NSS... 阅读全文

posted @ 2012-03-09 11:44 kiao295338444 阅读(1167) 评论(0) 推荐(0) 编辑

2012年3月8日

ShareKit

摘要: 转自:http://blog.csdn.net/wave_1102/article/details/6081253ShareKit has recently become one of my favorite iPhone open source projects. Just add a few lines of code to your app and you can instantly ... 阅读全文

posted @ 2012-03-08 10:55 kiao295338444 阅读(202) 评论(0) 推荐(0) 编辑

ShareKit

摘要: 转自:http://blog.csdn.net/wave_1102/article/details/6081253ShareKit has recently become one of my favorite iPhone open source projects. Just add a few lines of code to your app and you can instantly ... 阅读全文

posted @ 2012-03-08 10:55 kiao295338444 阅读(114) 评论(0) 推荐(0) 编辑

2012年3月7日

C/C++ 内存补齐机制

摘要: C/C++ 内存补齐机制在C语言中,结构是一种复合数据类型,其构成元素既可以是基本数据类型(如int、long、float等)的变量,也可以是一些复合数据类型(如数组、结构、联合等)的数据单元。在结构中,编译器为结构的每个成员按其自然对界(alignment)条件分配空间。各个成员按照它们被声明的顺序在内存中顺序存储,第一个成员的地址和整个结构的地址相同。例如,下面的结构各成员空间分配情况:str... 阅读全文

posted @ 2012-03-07 10:43 kiao295338444 阅读(455) 评论(0) 推荐(0) 编辑

2012年2月26日

How To Choose The Best XML Parser for Your iPhone Project

摘要: How To Choose The Best XML Parser for Your iPhone ProjectHow To Choose The Best XML Parser for Your iPhone ProjectXMLPerformance Test App Extended To Compare 3rd Party LibrariesThere are a lot of opti... 阅读全文

posted @ 2012-02-26 22:48 kiao295338444 阅读(214) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 下一页

导航