I saw the following in some code (see below). Have not come across the concept of a variable being declared above the @interface. What is the concept here? / What are the properties of this variable and how it could be used?
#import <Foundation/Foundation.h>
NSMutableArray* testArray; // <=== HERE
@interface MyClass : NSObject {
}
@end
It’s a global variable and can be accessed everywhere.