google instant
Google工程師Matt Cutts也寫了一篇「Thoughts on Google Instant」,裡面很精闢的闡述了Google Instant的戰略意義
gogole insidesearch
http://www.google.com/insidesearch/features/instant/about.html
the follower article is from google page.
Google 互動智慧搜尋是的搜尋強化功能,能隨著您輸入搜尋字詞的動作即時顯示搜尋結果。我們不斷追尋技術與基礎架構的極限,期待能更快速地提供您精確的搜尋結果。人的打字速度慢但閱讀速度快,所以我們依據這種特性研發了新的搜尋功能。一般來說,每次敲擊鍵盤需要 300 毫秒的時間,但只要只需要 30 毫秒就能一眼瞄過頁面上的另一個區域,兩者相差 10 倍的時間!這表示在您輸入關鍵字的同時,可以快速瀏覽頁面顯示的結果。
iPhone/iPad develop
2012年12月20日 星期四
2012年1月16日 星期一
2011年12月27日 星期二
UITableview load large data
UiTableView Lazy Loading
consider using iOS core data to store datas
LazyTableImages sample code
You want to arrange your code to grab all the data it needs before drawing
the table, so the table can be scrolled comfortably. But that means you've
still got a delay.
There are a few options.
- You could disable the view, and put a spinner to show that it's loading,
while you get the data. Once the data arrives, you could then display the
view, including table.
- If the table is only part of the view, you could display the table
instantly, with 0 rows, so it's an empty table. The user can start clicking
around at other things, while the data downloads, and once the data arrives
you could then redraw the table appropriately.
- Or you can just have the delay before things load, and let the app be a
little non-responsive. Not ideal, but hey, it might be the easiest option to
get your app built and released. Then you can worry about responsiveness
later.
LazyTableImages sample code
You want to arrange your code to grab all the data it needs before drawing
the table, so the table can be scrolled comfortably. But that means you've
still got a delay.
There are a few options.
- You could disable the view, and put a spinner to show that it's loading,
while you get the data. Once the data arrives, you could then display the
view, including table.
- If the table is only part of the view, you could display the table
instantly, with 0 rows, so it's an empty table. The user can start clicking
around at other things, while the data downloads, and once the data arrives
you could then redraw the table appropriately.
- Or you can just have the delay before things load, and let the app be a
little non-responsive. Not ideal, but hey, it might be the easiest option to
get your app built and released. Then you can worry about responsiveness
later.
訂閱:
意見 (Atom)