关于全局变量 [英] About global variable
本文介绍了关于全局变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何以及在何处将全局变量声明为目标c ..? "http://zh.wikipedia.org/wiki/Global_variable">此处 [ ^ ].您应该能够在阅读后定义全局变量.
U可以在您的
中声明全局变量.
.h文件或
在@implementation之前的.m文件中
How and where to declare a global variable a objective c..?
解决方案
I am not sure of whats unclear, so have a read here[^]. You should be able to define global variables after reading it.
U can declare the global variable in your
.h file or
in your .m file before @implementation
这篇关于关于全局变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文