2010年2月15日 星期一

Mac OS X 常用快速鍵

command: 蘋果鍵
option: alt鍵
ctrl: ctrl鍵
退出鍵: 光碟退出鍵
↓: 上下左右的下鍵
command + tab 在不同的程式間作切換(往後)
command + shift + tab 在不同的程式間作切換(往前)
command + ` 在相同程式間的不同視窗作切換(往前)
command + ~ 在相同程式間的不同視窗作切換(往後)
command + c 複製
command + v 貼下
command + x 剪下
command + n 開新視窗
command + w 關閉分頁
command + option + w 關閉所有分頁,但是不關掉程式
command + q 關閉整個程式
command + a 全選
command + f 尋找
command + o 打開檔案
command + s 儲存檔案
command + m 最小化
command + h 隱藏目前程式(command + tab可以直接切回來)
command + option + h 隱藏除了目前程式以外的所有視窗
command + e 在外接設備的圖示中按下這個相當於退出
command + d 製作備份
command + ↓ 相當於執行
command + shift + a 在finder中可以直接開啟應用工具資料夾
ctrl + 退出鍵 關機詢問視窗(=按下電源鍵)
command + option + esc 強制結束此程式
command + option + 退出鍵 休眠
command + option + ctrl + 退出鍵 關機
command + ctrl + 電源鍵 強制重開機
command + shift + 3 全螢幕快照
command + shift + 4 螢幕快照 選取範圍
command + shift + 4 + 空白鍵 螢幕快照 選取應用程式
開機時:
option 選擇開機磁碟
T 你的mac變成一個外接硬碟(請使用firewire連接其他電腦)
C 從光碟開機
shift 安全模式開機
command + s single user mode
滑鼠右鍵: ctrl + 左鍵 = 右鍵
兩根手在touch pannel上 + 左鍵 = 右鍵

2010年2月4日 星期四

iPhone Coding Recipe – Shortening URLs

Shorten URLs:

NSString *url = @"http://brandontreb.com";
NSString *apiEndpoint = [NSString stringWithFormat:@"http://api.tr.im/v1/trim_simple?url=%@",url];
NSString *shortURL = [NSString stringWithContentsOfURL:[NSURL URLWithString:apiEndpoint]
encoding:NSASCIIStringEncoding
error:nil];
NSLog(@"Long: %@ - Short: %@",url,shortURL);

source: http://icodeblog.com/2010/02/04/iphone-coding-recipe-shortening-urls/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+icodeblog+%28iCodeBlog%29

Posted via email from yinlin's posterous

2010年1月24日 星期日

Reduce click through services

現在人講求快速, 無論服務或內容在好, 如果要人一直要點下一頁在下一頁才能看到內容, 或是需要在額外複製貼上才能看到. 都是使用這不樂見的事. Google 搜尋好, 是因為大部份時間都在第一頁就找到我們要的東西, 不然使用者就離開了.

最近看到兩個服務, 都是目的在減少使用者點擊滑鼠數量所提供的服務.
1. BeautyG 表特機 http://beautyg.webbs.tw/
2. Greedland Comic AutoPager http://goo.gl/9FSk

開發新的軟體或服務, 要想想如何讓使用這更快取得他想要的, 這樣使用者才會常用

Posted via email from yinlin's posterous

2010年1月11日 星期一

Google Friend Connect

Use Google Friend Connect on your blog to connect people who interested your sites

 

Posted via email from yinlin's posterous

2010年1月8日 星期五

iPhone Coding Recipe: Live Character Counter, Word filter, and 1337 Translator For A UITextField | iCodeBlog

I’m sure you have seen a Twitter client such as Twittelator Pro or Tweetie 2 count down the characters as you type your Tweet. This is done by responding to the Editing Changed action on a UITextField. Today, I will show you how you can implement this functionality in your application as well as show you some other real world examples of responding to this action. Here are a few of the uses that we will discuss:

  • Countdown of characters allowed – Used when the user is limited by a certain number of characters
  • Word filter – useful in filtering out swear words or other unwanted text
  • Live translator – our example will translate english to 1337 :)

Should able to use in user input functions

Posted via web from yinlin's posterous

2010年1月1日 星期五

iPhone Coding Tutorial – Inserting A UITextField In A UIAlertView | iCodeBlog

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@”Enter Name Here” message:@”this gets covered!” delegate:self cancelButtonTitle:@”Dismiss” otherButtonTitles:@”OK!”, nil];

UITextField *myTextField = [[UITextField alloc] initWithFrame:CGRectMake(12, 45, 260, 25)];

CGAffineTransform myTransform = CGAffineTransformMakeTranslation(0, 60);

[alert setTransform:myTransform];

[myTextField setBackgroundColor:[UIColor whiteColor]];

[alert addSubview:myTextField];

[alert show];

[alert release];

[myTextField release];

Posted via web from yinlin's posterous

Do It (For Mac)

Do it: Create todo list application

http://jimmcgowan.net/Site/DoIt.html

Posted via email from yinlin's posterous