2011年7月15日

cocoa 创建线程

摘要: Threading1. Create the new thread:[NSThread detachNewThreadSelector:@selector(myMethod) toTarget:self withObject:nil]; 2. Create the method that is called by the new thread:- (void)myMethod { NS... 阅读全文

posted @ 2011-07-15 15:39 风乔 阅读(213) 评论(0) 推荐(0) 编辑

Google Map上,加上座標點(POIs)

摘要: 標:在前一個範例中建立的Google Map上,加上座標點(POIs),當點選座標點會觸發對應的event。☉限制:必須將iPhone的作業系統更新到OS 3.0版本,開發使用的SDK也要是SDK 3.0才有內建Mapkit Framework。☉效果畫面:☉步驟說明:在地圖上每一個座標點,都是一個MKAnnotationView,也就是UI。而每一個MKAnnotationView都... 阅读全文

posted @ 2011-07-15 09:55 风乔 阅读(90) 评论(0) 推荐(0) 编辑

导航