摘要: 转自:http://www.cocoachina.com/bbs/read.php?tid-73476.html 阅读全文
posted @ 2011-10-21 12:29 TsengYuen 阅读(429) 评论(0) 推荐(0) 编辑
摘要: There is a much easier way to declare a global variable. Declare it like an ordinary C-style global, outside of any @interface...@end block in some .H file:Code: extern BOOL amIaVirgin;Then define it in some .M file, but outside of any @implementation... @end block:Code: BOOL amIaVirgin;Then it is.. 阅读全文
posted @ 2011-10-21 10:13 TsengYuen 阅读(2307) 评论(0) 推荐(0) 编辑