a NSString variable cannot be assigned.
I have a NSString variable that cannot be assigned. It always says Out of Scope.
NSString *StringVar;
StringVar=@"something";
when I do the debugging, check the value StringVar, it has a valid address value but says out of scope.
what's wrong?
|