作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个关于 iOS 编码风格的简单问题。假设有人正在实现代码,但他/她没有为变量提供任何正确的命名约定。
我想看看,他/她使用这个变量的主要目的是什么,同时在该变量名称上按下 Alt + 鼠标指针。但它没有正确显示。
我的输出是:
我需要的输出是:
我的问题是如何获得如上图所示的声明和描述。
谢谢 :)
最佳答案
记下在 .h 文件中声明此变量的位置
CLLocationManager *locationManager;
这样写:
/**
For getting Current location
*/
CLLocationManager *locationManager;
然后你就可以看到你的要求了。
关于ios - 如何在 iOS 中查看已声明变量的描述,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26374566/
我是一名优秀的程序员,十分优秀!