Help.GitHub - Remove sensitive data
果然人生難免會用到這種東西…。
#osxchat blog: 小麥注音:一套簡單的自動選字輸入法
又是一套輸入法。
本站 (#osxchat) 的 mjhsieh 還有 zonble 開發了一套簡單的自動選字輸入法「小麥注音」,特色有:
- 輕巧簡單,容易安裝
- 選字及標點符號符合台灣使用者習慣
- 介面依循 Mac 標準
- 支援標準、倚天、許氏、倚天26 鍵以及漢語拼音鍵盤配置
- 程式反應快速,目前的詞庫也有相當的準確性,應該能夠有效幫助大家輸入國語
- 開放原始碼,有興趣研究改進輸入法及選字原理的人可從本專案開始著手
需要下載的朋友,可以前往小麥注音網站取得。
rentzsch.tumblr.com: [NSScreen mainScreen] != screen with menubar
咦咦咦咦咦咦咦咦咦咦咦?
for years i’d thought that [NSScreen mainScreen] returns the screen with menu. It returns the screen with the window that has keyboard focus
installation - How to install iPhone application in iPhone Simulator - Stack Overflow
筆記一下
/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication path_to_your_app/YourFavouriteApp.app/YourFavouriteApp
這樣就可以在另外一台機器用 iPhone Sim 跑程式,不需要把 code 拿過去編。
evands/xcodeRemoteDeviceFixer - GitHub
留個紀錄:修正 Xcode 4.1 CPU 用量的工具。
中秋節嘛。
Oomph/MacMapKit - GitHub
Mac OS X 用的 MapKit。
用 AppStore 開啟檔案
在 Lion 的 Finder 裡頭,如果在某個檔案上面點右鍵(control click),在 “Open With” 選單中,除了列出本機安裝的軟體中,可以用來開啟這個檔案者外,還有一個選項是 AppStore。選擇之後,系統就會把 AppStore 開起來,然後透過檔案類型的 uri,在線上商店中尋找可以開啟這種檔案的軟體,也就是,如果你拿到一個無法開啟的檔案的話,Mac AppStore 的設計,也可以讓你很容易知道,可以透過購買那一套軟體解決這個問題。
系統層次的軟體商店果然有厲害的地方。
我個人最常用的其實是這個:
id appDelegate()
{
return [UIApplication sharedApplicaiton].delegate;
}
為什麼 UIKit 裡頭沒有像是 Cocoa 裡頭定義的 NSApp 這樣的東西呢?
NSCollectionAddition
yllan++
It let you:
ARRAY(a, b, c)instead of[NSArray arrayWithObjects: a, b, c, nil]DICT(k1, v1, k2, v2)instead of[NSDictionary dictionaryWithObjects: v1, k1, v2, k2, nil]SET(x, y, z)instead of[NSSet setWithObjects: x, y, z, nil](Thanks for Mike Ash, I steal these macros from his MACollectionUtilities.)




18
