本次與會者:yllan, lukhnos, Franky, chitsaou, zonble, Esh, nighter, WanCW, hankaka, Clark, carboyg, Leeheng, haurkaeso, saloonvm, macsmith, thinkboy, Randy, xkss, Tyler, EvenWu, OOBE, toki, Wang, shiva 共二十四位。
這次很榮幸請到在 open source 圈活躍的 zonble 以及職業麥金塔程式設計老鳥 MacSmith 為大家帶來精彩的講座。
以下是內容摘要:
- Zonble 介紹如何在 Cocoa Application 中加入 Growl 這套常見的訊息通知系統。source code(188K),也藉此展示了在 Xcode 中如何設定加入外部的程式庫。
- MacSmith 接續第一次聚會的話題,示範如何從頭到尾寫出一個抓 icon 的程式 iConhijacker(96K)。提到的重點有:
- 如何做 Drag & Drop 的 Drop 部份: 首先要將被拖到的 view 去註冊接受拖曳的型態,接下來實做 NSDraggingDestination protocol 中的兩個 method:
- (NSDragOperation)draggingEntered:(id < NSDraggingInfo >)sender和- (BOOL)performDragOperation:(id < NSDraggingInfo >)sender。 - NSWorkspace: 這個 class 的功能和 Finder 很像,可以開啟檔案、URL、退出磁碟、抓 icon 等。
- NSImage: 儲存成 TIFF 檔。
- 如何做 Drag & Drop 的 Drop 部份: 首先要將被拖到的 view 去註冊接受拖曳的型態,接下來實做 NSDraggingDestination protocol 中的兩個 method:
- Lukhnos 為我們帶來 Leopard 裡 CoverFlow 的 Private API: IKImageFlowView。 source code(42K)。簡單來說,就是和 IKImageBrowserView 一模一樣的程式介面。
- yllan 分享了他的 open source project。
- shiva 手上有一些 mac driver 的工作機會,有興趣的人歡迎和 shiva 聯絡(shiva[點]tw[在]gmail)。






一點都不活躍啊~~~~~
我倒是真的很老~
zonble: coverflow diggirl 很活躍啊!
MacSmith: 年輕的外表看不出來您這麼經驗老到呢!