NSObject.m的源代码在哪里? [英] Where is the source code for NSObject.m?
问题描述
我试图找到 NSObject.m
的来源。 (我想比较 retain
和 release
的前后ARC实现。)
我已查看 http://www.opensource.apple.com/ 和< a href =http://www.macosforge.org/> http://www.macosforge.org/ ,但无法找到。
http:// www .opensource.apple.com / source / objc4 / objc4-532 / runtime / NSObject.mm
整个Objective-C运行时包可以从 http://www.opensource.apple.com/tarballs/objc4/objc4-532。 tar.gz
回顾一下网站上运行时软件包的以前版本,会出现 NSObject.mm
文件只包含在最新的软件包中。
I'm trying to find the source for NSObject.m
. (I want to compare the pre and post ARC implementations of retain
and release
.)
I've looked on http://www.opensource.apple.com/ and http://www.macosforge.org/ but not been able to find it.
The source code for Apple's NSObject
is contained in the Objective-C runtime package on Apple's open source repository site.
http://www.opensource.apple.com/source/objc4/objc4-532/runtime/NSObject.mm
The whole Objective-C runtime package can be downloaded from http://www.opensource.apple.com/tarballs/objc4/objc4-532.tar.gz
Looking back through the previous versions of the runtime package on the site it appears the NSObject.mm
file is only contained in the most recent package.
这篇关于NSObject.m的源代码在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!