Swiftgram/LegacyComponents/TGLocationAnnotation.m
Ilya Laktyushin 86a91011e8 no message
2017-09-13 20:52:56 +03:00

21 lines
359 B
Objective-C

#import "TGLocationAnnotation.h"
@implementation TGLocationAnnotation
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
{
self = [super init];
if (self != nil)
{
_coordinate = coordinate;
}
return self;
}
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate
{
_coordinate = newCoordinate;
}
@end