// // 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