03 2020 档案
摘要:类的本质 每个对象都是其 类 的实例 , 被称为实例对象 . 每一个对象都有一个名为 isa 的指针,指向该对象的类。 typedef struct objc_object *id; typedef struct objc_class *Class; struct objc_class : objc
阅读全文
摘要:获取CPU占用量 #import <mach/mach.h> kern_return_t kr; thread_array_t thread_list; mach_msg_type_number_t thread_count; thread_info_data_t thinfo; mach_msg_
阅读全文