mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-20 04:24:41 +00:00
23 lines
440 B
Objective-C
23 lines
440 B
Objective-C
#import "TGLocationAnnotation.h"
|
|
|
|
@implementation TGLocationAnnotation
|
|
|
|
- (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate title:(NSString *)title
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
_coordinate = coordinate;
|
|
self.title = title;
|
|
self.subtitle = nil;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate
|
|
{
|
|
_coordinate = newCoordinate;
|
|
}
|
|
|
|
@end
|