开发者社区> 问答> 正文

【面试必备】2020大厂最喜欢考的IOS面试题目

【面试必备】2020大厂最喜欢考的IOS面试题目

结构模型

1、介绍下runtime的内存模型(isa、对象、类、metaclass、结构体的存储信息等https://developer.aliyun.com/ask/282811

2、为什么要设计metaclass

https://developer.aliyun.com/ask/282812

3、class_copyIvarList & class_copyPropertyList区别

https://developer.aliyun.com/ask/282813

4、class_rw_t 和 class_ro_t 的区别

https://developer.aliyun.com/ask/282814

5、category如何被加载的,两个category的load方法的加载顺序,两个category的同名方法的加载顺序

https://developer.aliyun.com/ask/282815

6、category & extension区别,能给NSObject添加Extension吗,结果如何?

https://developer.aliyun.com/ask/282819

7、消息转发机制,消息转发机制和其他语言的消息机制优劣对比

https://developer.aliyun.com/ask/282820

8、在方法调用的时候,方法查询-> 动态解析-> 消息转发 之前做了什么

https://developer.aliyun.com/ask/282821

9、IMP、SEL、Method的区别和使用场景

https://developer.aliyun.com/ask/282822

10、load、initialize方法的区别什么?在继承关系中他们有什么区别

https://developer.aliyun.com/ask/282823

内存管理

1、weak的实现原理?SideTable的结构是什么样的

https://developer.aliyun.com/ask/282824

2、关联对象的应用?系统如何实现关联对象的?

https://developer.aliyun.com/ask/282825

3、关联对象的如何进行内存管理的?关联对象如何实现weak属性?

https://developer.aliyun.com/ask/282826

4、Autoreleasepool的原理?所使用的的数据结构是什么?

https://developer.aliyun.com/ask/282827

5、ARC的实现原理?ARC下对retain & release做了哪些优化?

https://developer.aliyun.com/ask/282829

展开
收起
游客bnlxddh3fwntw 2020-04-13 15:09:18 2046 0
1 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
手淘iOS性能优化探索 立即下载
From Java/Android to Swift iOS 立即下载
深入剖析iOS性能优化 立即下载