addSubview方法是什么样的? [英] What does the addSubview method look like?

查看:67
本文介绍了addSubview方法是什么样的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道它的功能以及如何使用addSubview方法.

I'm aware of it's function and how to use the addSubview method.

想知道的是该方法的外观,该方法使用的代码本身..以及是否有人可以指出我正确的方向,以便下次自己找到该方法.

What would like to know is what the method looks like, the code used in that method it self.. and if someone could point me to the right direction in finding this out for my self next time.

我想我可以在开发人员文档中找到它,并且找到了该方法及其作用(我已经知道),但是如果可能的话,我想看一下示例代码.谢谢=]

I assume I could find it in the Developer Documentation, and I found the method, and what it does (which I already know) but I'd like to see sample code, if possible. Thanks =]

推荐答案

实现代码不是公开可用的,iOS不是开源的.您可以获取的最接近的是标头文件,但仅声明接口,它不能为您提供从文档中无法获得的任何东西.

The implementation code is not publicly available, iOS is not open source. The closest you can get is the header file but that only declares the interface, which doesn't give you anything you can't get from the documentation.

这篇关于addSubview方法是什么样的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆