I define CountryInfo class in "CountryInfoLoader.h";
@interface CountryInfo : NSObject
@property(nonatomic,strong)NSString * code;
@property(nonatomic,strong)NSString * name;
@property(nonatomic,strong)NSString * prefix;
@end
@interface CountryInfoLoader : NSObject
+ (CountryInfo*)currentCountry;
+ (NSArray*)loadAllCountries;
+ (NSDictionary*)loadGroupCountries;
@end
So: 1. How could I describe "CountryInfo" defining in "CountryInfoLoader.h"? innner class(like java), instance-method, property, or what?
- what is the difference betwwen the defination in "CountryInfoLoader.h" and extracting to "CountryInfo.h"/"CountryInfo.m"?