You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
828 B

//
// MKPointAnnotation+NewTemp.m
// tongxin
//
// Created by WeiChaoZheng on 2018/7/12.
// Copyright © 2018年 xTT. All rights reserved.
//
#import "MKPointAnnotation+NewTemp.h"
@implementation MKPointAnnotation (NewTemp)
-(Locate*)tempLocate{
Locate *_tempLocate = objc_getAssociatedObject(self, @selector(tempLocate));
return _tempLocate;
}
-(TracingPoint*)tracingPoint{
TracingPoint *_tracingPoint = objc_getAssociatedObject(self, @selector(tracingPoint));
return _tracingPoint;
}
-(void)setTempLocate:(Locate *)tempLocate{
objc_setAssociatedObject(self, @selector(tempLocate), tempLocate, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
-(void)setTracingPoint:(TracingPoint *)tracingPoint{
objc_setAssociatedObject(self, @selector(tracingPoint), tracingPoint, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
@end