mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-30 09:34:06 +00:00
to pass already formatted by the core values instead of formatting them later using the same core formatters Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
21 lines
528 B
Objective-C
21 lines
528 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface TrackInfo : NSObject
|
|
|
|
@property (nonatomic, readonly) NSString * distance;
|
|
@property (nonatomic, readonly) NSString * duration;
|
|
@property (nonatomic, readonly) NSString * ascent;
|
|
@property (nonatomic, readonly) NSString * descent;
|
|
@property (nonatomic, readonly) NSString * maxElevation;
|
|
@property (nonatomic, readonly) NSString * minElevation;
|
|
|
|
@property (nonatomic, readonly) BOOL hasElevationInfo;
|
|
|
|
+ (TrackInfo *)emptyInfo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|