Skip to content

将苹果开源的Runtime代码放到Github上,并且加入了大量注释帮助大家理解。希望各位能帮忙点个Star,谢谢!

Notifications You must be signed in to change notification settings

waterXu/RuntimeAnalyze

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

我在简书上写了Runtime系列文章,为了让大家更好的理解Runtime,我将苹果开源的Runtime源码放到我Github上。源码中加入了大量的注释,以帮助大家理解源码的实现,大家可以跑一下源码,打上断点跟一下执行流程,更有助于Runtime的理解。

内部源码基于objc-runtime-723。

简书原文链接

Runtime介绍

剖析Runtime结构体

Runtime源码分析

Runtime加载过程

Runtime消息发送机制

深入剖析Category

Runtime Message Forward

Runtime Method Swizzling

Runtime的应用

About

将苹果开源的Runtime代码放到Github上,并且加入了大量注释帮助大家理解。希望各位能帮忙点个Star,谢谢!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C++ 37.5%
  • Objective-C 27.6%
  • C++ 12.3%
  • C 11.6%
  • Assembly 7.9%
  • Perl 2.0%
  • Other 1.1%