forked from organicmaps/organicmaps
[ios] Warnings fix
This commit is contained in:
parent
5245e38081
commit
9f3fd91d8e
3 changed files with 5 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#define IPAD UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad
|
||||
#define IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
|
||||
#define DISPLAY_IS_4_INCH ([UIScreen mainScreen].bounds.size.height == 568.f)
|
||||
|
||||
#define SYSTEM_VERSION_IS_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)
|
||||
|
|
|
@ -17,13 +17,13 @@ extern NSString * const AppFeatureMoreAppsBanner;
|
|||
- (NSString *)snapshot;
|
||||
|
||||
@property (nonatomic, readonly) NSString * countryCode;
|
||||
@property (nonatomic, readonly) NSString * bundleVersion;
|
||||
@property (nonatomic, readonly) NSString * deviceInfo;
|
||||
@property (nonatomic, readonly) NSString * firmwareVersion;
|
||||
@property (nonatomic, readonly) NSString * uniqueId;
|
||||
@property (nonatomic, readonly) NSUUID * advertisingId;
|
||||
@property (nonatomic, readonly) Reachability * reachability;
|
||||
@property (nonatomic, readonly) NSInteger launchCount;
|
||||
@property (nonatomic, readonly) NSDate * firstLaunchDate;
|
||||
- (NSString *)bundleVersion;
|
||||
- (NSString *)deviceInfo;
|
||||
- (NSString *)firmwareVersion;
|
||||
- (NSUUID *)advertisingId;
|
||||
|
||||
@end
|
||||
|
|
|
@ -17,11 +17,7 @@ NSString * const AppFeatureMoreAppsBanner = @"AppFeatureMoreAppsBanner";
|
|||
@property (nonatomic) NSDictionary * featuresByDefault;
|
||||
|
||||
@property (nonatomic) NSString * countryCode;
|
||||
@property (nonatomic) NSString * bundleVersion;
|
||||
@property (nonatomic) NSString * deviceInfo;
|
||||
@property (nonatomic) NSString * firmwareVersion;
|
||||
@property (nonatomic) NSString * uniqueId;
|
||||
@property (nonatomic) NSUUID * advertisingId;
|
||||
@property (nonatomic) Reachability * reachability;
|
||||
@property (nonatomic) NSInteger launchCount;
|
||||
@property (nonatomic) NSDate * firstLaunchDate;
|
||||
|
|
Loading…
Add table
Reference in a new issue