I have this code:
.h
@interface DetalhesPod : UIViewController {
NSString *linhaPod;
}
@property (nonatomic, strong) NSString *linhaPod;
.m
+ (NSArray *)_tracks {
NSArray *arrTexto = [self.linhaPod componentsSeparatedByString:@"#"];
}
Why I have problem with "+" in "self.linhaPod" ? If I put "-" I don't have problem:
- (NSArray *)_tracks {
}
Error message: instance variable "linhaPod" accessed in class method...
Thanks