August 13th, 2009
You can use this robust approach, or this smart method. But the first is using the UNDOCUMENTED (private) API, and the second is not working for me (and for somebody according to the comments on that blog post). So this is my solution.
Subclass ……
Posted in Mac 开发 | 2 Comments »
August 4th, 2009
为给 HTML 5 让路,W3C 解散了 XHTML 2.0 工作组。这造成了对 XTHML 和 HTML 之间的很多误解,所以就有人画了漫画来解释(英文,中文)。为了避免更大的混乱,我就不多作评论了。
关于本书……
Posted in Web 标准 | 9 Comments »
July 31st, 2009
拥有 MacBook 已经一年半了吧,有机会接触 Mac 的编程环境,兴趣盎然,一发不可收拾,经过一年的 C 和 Objective-C 语言入门,今年初即开始一些最基本的 Mac 编程,先后做了可可饭和饭否 iPhone ……
Posted in Mac 开发 | 12 Comments »
June 29th, 2009
入行已久,做的领域也从浏览器扩展到桌面端甚至是手机端,对 Web 标准多少有些自己的看法,今日斗胆一说。
两种家
我们困惑不解、迷惑不安,很大程度上源于没有指导思想。要……
Posted in Web 标准 | 13 Comments »
March 31st, 2009
最近总算有精力投入到 Cocoa 的学习了,做了一个饭否专用的客户端,名曰可可饭,倒腾了一个多月算是有了一个基本可用的版本:http://code.google.com/p/cocoafan/.
门还在入,欢迎各界人士多……
Posted in Mac 开发 | 5 Comments »
February 2nd, 2009
C 可能是世界上最简洁且功能强大的语言,同为 C 的超集(C++现在可能不认为自己是 C 的超集或者相反,我们姑且如此认为吧,至少历史上有过这样的共识),Objective-C 比 C++ 要简洁得多。Objec……
Posted in Mac 开发 | 8 Comments »
January 11th, 2009
最近利用 Adobe AIR 做了一个饭否客户端:爱饭,并将之开源。使用 HTML, CSS 和 JavaScript 对着 API 文档照虎画猫,大概三个星期完工,有一些感想和总结。
AIR 的开发对 Web 开发者非常友好,……
Posted in JS / Dom | 11 Comments »
November 30th, 2008
异步操作数据的方式有两种常见的方式:XMLHttpRequest 和 iframe. 孰优孰劣在此我们不争论,只是想举一个例子说明在获取网片片段上,使用 iframe 有一个比 XMLHttpRequest 更易企及的好处。
Ajax ……
Posted in JS / Dom, 交互设计 | 21 Comments »
October 27th, 2008
Firefox 3 有一个很让人讨厌的bug:基于某种目的,在表单提交时 disable 掉提交按钮,通过后退键回到这个页面后,这个提交按钮的状态依旧保持为 disabled 的状态,重新载入(软硬刷新)也无法……
Posted in JS / Dom | 15 Comments »
October 10th, 2008
原文来自 Application Design in AppKit.
This is a discussion of high-level application design in Cocoa that aims to explain the major class roles in an AppKit application and how they are connected. I’ll show you much more detail than s……
Posted in Mac 开发 | 3 Comments »