iphone-common-codes-ccteam源代码 CCMapAnnotation.m

//
// CCMapAnnotation.m
// CCFC
//
// Created by xichen on 11-12-30.
// Copyright 2011 ccteam. All rights reserved.
//


#import "CCMapAnnotation.h"
#import "CCCommon.h"


@implementation CCMapAnnotation


@synthesize title = _title;
@synthesize subtitle = _subtitle;
@synthesize coordinate = _cord;


- (id)initWithCoordinate:(CLLocationCoordinate2D)loc
{
COMMON_INIT_BEGIN

_cord = loc;

COMMON_INIT_END
}
- (void)dealloc
{
[_title release];
[_subtitle release];
[super dealloc];
}


@end

 

可能有更新: 

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCMapAnnotation.m

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCMapAnnotation.m

 

你可能感兴趣的:(annotation)