blob: 79b3d4d56a8095c73786fe0362011367106fcdd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// SDLLocationCoordinate.m
//
#import "SDLLocationCoordinate.h"
#import "NSMutableDictionary+Store.h"
#import "SDLNames.h"
NS_ASSUME_NONNULL_BEGIN
@implementation SDLLocationCoordinate
- (void)setLongitudeDegrees:(NSNumber<SDLFloat> *)longitudeDegrees {
[store sdl_setObject:longitudeDegrees forName:SDLNameLongitudeDegrees];
}
- (NSNumber<SDLFloat> *)longitudeDegrees {
return [store sdl_objectForName:SDLNameLongitudeDegrees];
}
- (void)setLatitudeDegrees:(NSNumber<SDLFloat> *)latitudeDegrees {
[store sdl_setObject:latitudeDegrees forName:SDLNameLatitudeDegrees];
}
- (NSNumber<SDLFloat> *)latitudeDegrees {
return [store sdl_objectForName:SDLNameLatitudeDegrees];
}
@end
NS_ASSUME_NONNULL_END
|