Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AwemeHeaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ typedef NS_ENUM(NSUInteger, DYEdgeMode) {
@property(nonatomic, strong) AWELiveFollowFeedCellModel *cellRoom;
@property(nonatomic, strong) NSString *videoFeedTag;
@property(nonatomic, strong) id shareRecExtra; // 推荐视频专有属性
@property (nonatomic, copy) NSString *referString; // 推荐页为 homepage_hot
@property(nonatomic, strong) NSArray<AWEAwemeTextExtraModel *> *textExtras;
@property(nonatomic, copy) NSString *itemTitle;
@property(nonatomic, copy) NSString *descriptionSimpleString;
Expand Down
3 changes: 3 additions & 0 deletions CityManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
@interface CityManager : NSObject

@property(nonatomic, strong) NSDictionary *cityCodeMap;
@property(nonatomic, strong) NSDictionary *countryCodeMap;

+ (instancetype)sharedInstance;
- (NSString *)getCityNameWithCode:(NSString *)code;
- (NSString *)getProvinceNameWithCode:(NSString *)code;
- (NSString *)getCountryNameWithCode:(NSString *)code;
- (void)loadCityData;
- (void)loadCountryData;
+ (void)fetchLocationWithGeonameId:(NSString *)geonameId completionHandler:(void (^)(NSDictionary *locationInfo, NSError *error))completionHandler;
@end
Loading