newjia / newjia.github.io Goto Github PK
View Code? Open in Web Editor NEW李佳的技术博客
Home Page: http://nilsli.com
李佳的技术博客
Home Page: http://nilsli.com
http://nilsli.com/2020/01/21/analyzeOfCacheT/
本页所使用的objc runtime 756.2,来自GITHUB
1.概念1.1 objc_class 结构前面探索了类的结构,知道了类的结构本质上是objc_class的结构体,而在 C 源码例, objc_class 结构体的结构
http://nilsli.com/2020/03/09/glance-at-WestLake/
逛次逛次的西湖今天过来平海路的Apple 直营店给电脑做大保健,顺便看了一眼西湖。
湖边景色依旧宜人,可惜游人寥寥。
期待一切顺利,然后恢复到游人如织的景色。
http://nilsli.com/2019/12/27/initialOfIsaNDirection/
本页所使用的objc runtime 756.2,来自GITHUB
开始继续学习研究OC源码,这次研究的是isa的初始化和指向分析。
isa
A Pointer to the class d
http://nilsli.com/2020/03/06/wayOfCheckingMethod/
本页所使用的objc runtime 756.2,来自GITHUB
概念在前文中,已经总结了方法查找的流程,今天从代码层面上继续阐述。
isa 的指向图如下所示:
方法查找流程2.1 从业务代码分析配置代码环境:,先
http://nilsli.com/2020/01/12/StructOfClass/
本页所使用的objc runtime 756.2,来自GITHUB
1.概念1.1 类Class 的类型
Class在源码里的真正类型为objc_class的结构体。
先查看源码——在Xcode按下Shift+Command+O,选择
http://nilsli.com/2020/02/24/startToLearnObjcSend/
方法的本质,就是消息传递…
本页所使用的objc runtime 756.2,来自GITHUB
一、引子:Runtime概念我们都知道,在运行OC代码时,类或者对象在调用方法时会用到runtime,那么,到底什么是运行时呢?
寻找一
http://nilsli.com/2020/01/02/newyearnote/
2020年是一个闰年,第一天从星期三开始。
今天看了小羊肖恩大电影,故事讲得真好看,小朋友全程开心,全情投入,大朋友也觉得耳目一新,深受感动。
这是我们带他看的第一部电影,新的一年,从第一开始。
用一句涂鸦来鼓舞自己
宁愿最后徒劳无
http://nilsli.com/2019/12/16/pricipleofalloc/
本页所使用的objc runtime 756.2,来自GITHUB
http://nilsli.com/2019/12/22/memoryAlignPrinciple/
本页所使用的objc runtime 756.2,来自GITHUB
开始继续学习研究OC源码,今天看的是OC的内存原理,以及对齐原理的分析。
1.概念内存对齐在数据结构中,是比较基础也比较重要的一环,对于iOS开发,研究底层更免不了要了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.