摘要:
A DFD shows what kind of information will be input to and output from the system, how the data will advance through the system, and where the data wil 阅读全文
摘要:
Signal programming is used in the same sense as dataflow programming, and is similar to event-driven programming. The signal flow of a program or a si 阅读全文
摘要:
In computer systems organization or operating systems, "busy waiting" refers to a process that keeps checking something (e.g., an I/O device) to see i 阅读全文
摘要:
As mentioned earlier, the default behavior for a writeable property is to use an instance variable called _propertyName. If you wish to use a differen 阅读全文
摘要:
nil的处理展示出消息机制的优越性,相对于函数调用的空指针处理。 ENTRY objc_msgSend # check whether receiver is nil teq a1, #0 itt eq moveq a2, #0 bxeq lr # save registers and load r 阅读全文
摘要:
消息发送:对象处理消息; 消息发送的selector作为消息的一部分,在对象的运行时底层参与了消息分发,最终完成动态函数调用。 objc_msgSend(void /* id self, SEL op, ... */ ) id objc_msgSend ( id self, SEL op, ... 阅读全文
摘要:
void *objc_destructInstance(id obj){ if (obj) { Class isa_gen = _object_getClass(obj); class_t *isa = newcls(isa_gen); // Read all of the flags at onc 阅读全文
摘要:
在继承体系中,多个子类的引用,父类缺省执行一次; 特殊情况: 1)子类没有实现、调用父类方法; 2)子类显示调用父类; 3)存在分类实现,分类实现覆盖本体。 Initializes the class before it receives its first message. The runtime 阅读全文