Just a little smile ^ ^

yoyo_zeng

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

2012年11月12日

摘要: 可以代替自己创建线程的有多种方法,可以管理thread或者通知或者另开进程。TechnologyDescriptionOperation objectsIntroduced in OS X v10.5, an operation object is a wrapper for a task that would normally be executed on a secondary thread. This wrapper hides the thread management aspects of performing the task, leaving you free to focus 阅读全文
posted @ 2012-11-12 16:20 yoyo_zeng 阅读(364) 评论(0) 推荐(0)

摘要: When you send a message like[NSObject alloc]you are actually sending a message to the class object, and that class object needs to be an instance of the MetaClass which itself is an instance of the root meta classThe basic implementation of a class in Objective-C looks like@interface MyClass : NSObj 阅读全文
posted @ 2012-11-12 14:01 yoyo_zeng 阅读(151) 评论(0) 推荐(0)