mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-19 04:00:54 +00:00
21 lines
359 B
Objective-C
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
|