Swift runtime documentation [closed]

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

I have been exploring Apple's swift documentation, and now i'm here to ask.

Is documentation about Swift's runtime available?

I have read The Swift Programming Language book. https://itunes.apple.com/us/book/swift-programming-language/id881256329?mt=11

I have watched WWDC videos. https://developer.apple.com/videos/wwdc/2014/

I have tried searching Swifts compiler source code, or runtime library source code.

But I've found out nothing, except few questions that actually about Obj-c Swift function swizzling / runtime

I mean, everybody know how obj-c works. isa pointer, cmd, how do we call methods, dynamic binding and other. We know how parameters passed by registers. We can use MachOView to define all methods and classes used in binary. There are many documents about obj-c runtime, open source runtime library. Clang is open source. But what about swift?

This information exists in a centralized location for Objective-C. I'm asking for the equivalent of the Obj-C runtime library documentation.

回答1:

This documentation hasn't been released, and nobody outside of Apple knows if it ever will.

Since the ObjC runtime is available on opensource.apple.com, I would imagine that the Swift runtime library source will be made available once Yosemite becomes public.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!