![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OC
Tony_Pai
这个作者很懒,什么都没留下…
展开
-
iOS 成员变量和属性的关系
#import //Public: is available an accessible from anywhere //Protected: is available only to subclasses //Private: is available to the class only //Package: is available from that p原创 2017-06-21 14:57:46 · 698 阅读 · 0 评论 -
Objective-C 快速排序代码
#import void quicksortInPlace(NSMutableArray *array, NSInteger first, NSInteger last, NSComparator comparator) { if (first >= last) return; id pivot = array[(first + last) / 2];转载 2017-06-23 16:20:37 · 296 阅读 · 0 评论 -
我也说说runtime的一道经典面试题
iOS程序猿,一定见过下面这道面试题:@implementation Son : Father - (id)init { self = [super init]; if (self) { NSLog(@"%@", NSStringFromClass([self class])); NSLog(@"%@", NSStr原创 2017-08-09 21:24:02 · 1044 阅读 · 0 评论