object-c 之 iphone
a564941464
这个作者很懒,什么都没留下…
展开
-
Initializers -- object-c中的alloc init的解释
[size=medium]At the beginning of this chapter, we talked about how an instance is created: its class is sent the message alloc, which creates an instance of that class and returns a pointer to it, and...原创 2011-06-25 19:15:57 · 130 阅读 · 0 评论 -
拖出来第一个ipad界面
哦啦 啦 , 哦耶耶原创 2011-06-25 20:19:58 · 100 阅读 · 0 评论 -
loaded the "BlueView" nib but the view outlet was not set 错误的解决办法
[UIViewController _loadViewFromNibNamed:bundle:] loaded the "BlueView" nib but the view outlet was not set. 查书才知道,没有做nib文件到xxxViewControler程序的关联,特此记录下来: 1, 打开nib文件2, 点击"File's Owne...原创 2011-07-10 15:43:47 · 83 阅读 · 0 评论 -
object c 基础的东西了
减号表示一个函数、或者方法、或者消息的开始 括号可以认为是如何调用你刚才写的这个方法,通常在Objective-C里说“消息”。 同一个数组可以保存不同的对象 C用NULL,OC用nil Objective-C 有种叫做 id 的型别,它的运作有时候像是 void*,不过它却严格规定只能用在对象。 基本类别库 import NSObject.h;BOOL型为YES or NO ...原创 2011-07-10 16:10:36 · 92 阅读 · 0 评论 -
FAQ: *** Terminating app due to uncaught exception 'NSUnknownKeyException', reas
FAQ: *** Terminating app due to uncaughtexception 'NSUnknownKeyException', reason: '[setValue:forUndefinedKey:]: this class is not key valuecoding-compliant for the key itemName.' (permalink)...原创 2011-12-14 21:19:26 · 128 阅读 · 0 评论 -
jsoncpp操作 json
#include <iostream>//#include "json/json.h"#include "json_reader.cpp"#include "json_value.cpp"#include "json_writer.cpp"using namespace std;using namespace Json;int main(in...原创 2011-12-19 00:15:34 · 114 阅读 · 0 评论 -
How to use SBJSON and TouchJSON
http://blog.objectgraph.com/index.php/2010/02/24/how-to-use-touch-json-and-sbjson/原创 2011-12-21 18:38:38 · 104 阅读 · 0 评论 -
object-c 中的 Categories
http://www.otierney.net/objective-c.html#downloading原创 2011-12-21 19:08:44 · 190 阅读 · 0 评论 -
sbjson object-c
http://loopingrecursion.com/index.php?t=json-framework原创 2011-12-22 17:12:28 · 109 阅读 · 0 评论