Files
comaps/iphone/CoreApi/CoreApi/Bookmarks/TrackInfo.h
Kiryl Kaveryn 2861d9db2a [ios] replase ints/doubles with string for track stats in ios
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>
2025-06-07 16:25:16 +02:00

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