iOS-Interview-Questions icon indicating copy to clipboard operation
iOS-Interview-Questions copied to clipboard

iOS面试题整理,在线查看地址:https://ios.nobady.cn

Results 9 iOS-Interview-Questions issues
Sort by recently updated
recently updated
newest added

while (i < MIN((int)arrayOne.count, (int)arrayOther.count)) { // 倒序方式获取各个视图的父视图 UIView *superOne = [arrayOne objectAtIndex:arrayOne.count - i - 1]; UIView *superOther = [arrayOther objectAtIndex:arrayOther.count - i - 1]; // 比较如果相等 则为共同父视图 if...

https://ios.nobady.cn/Foundation.html#_7-synthesize%E5%92%8C-dynamic%E5%88%86%E5%88%AB%E6%9C%89%E4%BB%80%E4%B9%88%E4%BD%9C%E7%94%A8%EF%BC%9F 你这个粘贴错了吧

你粘贴复制都不带思考的. ``` 当一个硬件事件(触摸/锁屏/摇晃等)发生后,首先由 IOKit.framework 生成一个 IOHIDEvent 事件并由 SpringBoard 接收。这个过程的详细情况可以参考这里。 ``` 参考这里是哪里????????

[NSRunLoop.currentRunLoop run];开启runloop后可以用了 ``` - (void)viewDidLoad { [super viewDidLoad]; queue = dispatch_queue_create("asds", DISPATCH_QUEUE_CONCURRENT); dispatch_async(queue, ^{ [self performSelector:@selector(testSel:) withObject:@"asdfd" afterDelay:3]; [NSRunLoop.currentRunLoop run]; }); } - (void)testSel:(id)sender{ NSLog(@"%s=%@",__FUNCTION__,sender); } ```

load和initialize方法都不用显示的调用父类的方法而是自动调用,即使子类没有initialize方法也会调用父类的方法,而load方法则不会调用父类。 “而load方法则不会调用父类”这句话不是与前面的冲突吗

给同一个类的不同的类别中添加相同的方法.执行哪个类别中的方法由 Build Phases -》Complie Sources 的顺序决定