@interface PlaceView () <MapViewDelegate> {
id placeSelegate;
}

@end

@implementation PlaceView

- (id)init
{
self = [super initWithSearch];
if (self) {
super.delegate = self;
}
return self;
}

# pragma mark public PlaceView

- (void)setDelegate:(id)delegate
{
placeSelegate = delegate;
}


- (void)done
{
if ([
placeDelegate respondsToSelector:@selector(placeSelected:)])
{
[
placeDelegate placeSelected:[map placeInfo]];
}
}
文章標籤
全站熱搜
創作者介紹
創作者 阿勇 的頭像
阿勇

阿勇的blog

阿勇 發表在 痞客邦 留言(0) 人氣(56)