가능한 중복 :
Where do I have to declare static variables?Objective C의 구현 컨텍스트 내부 및 외부에서 정적 변수를 선언하는 것과 다른 점은 무엇입니까?
내가 본
@implementation ClassA
static NSString *str = nil;
.....
@end
과 같은 코드뿐만 아니라
static NSString *str = nil;
@implementation ClassA
.....
@end
은 무엇 diffe의 정적 VAR는 외부
Pls는 참조이 당신의 모든 콘텐츠 *를 추가하지 않을 경우 SO http://stackoverflow.com/questions/1662903/where-do-i-have-to-declare-static-variables – visakh7
@ 7KV7 질문 너의 *, 코멘트가 선호된다. –