Hello,
I am having an issue with a variable being labeled as "out of scope".
The following method can be found in my code:
- (void)CampaignComplete:(Campaign *)controller Picked:(NSString *)value {
selectedCampaign = [[NSString alloc] initWithString: value];
The value of variable named "value" can be seen by the debugger. However, when I assign it to the variable selectedCampaign and continue stepping through the program selectedCampaign becomes out of scope.
Here are selectedCampaign stuff from the .h:
@interface .....{
NSString *selectedCampaign;
}
@property (retain) NSString *selectedCampaign;
@end
Can anyone tell me what I am doing wrong? Thank you very much!