タッチパネルに対応するアプリケーションを開発する場合、開発は従来のマウスを使うブラウザ環境で行いつつ検証を実機でという手順を繰り返すことになるが、その際にイベントハンドラに記述するマウスイベントとタッチイベントの切り替えを自動的に判定して行う方法を Apple が公開している iAd のサンプルコード内に見つけたので開発しているアプリケーションのコードに適用した。
P.S.
英国の場合に厄年が10年単位なのは “decade” の語源にも関連がありそうだと思い Mac OS X の辞書.app にある New Oxford 辞書で次の様に書かれていた。
USAGE 1 The U.S. (and primary British) pronunciation of decade puts the stress on dec-. An alternative pronunciation used in Britain sounds like the word decayed. This latter pronunciation is disapproved of by some traditionalists, but it is regarded by many as a standard, acceptable alternative. 2 Note that when decade means ‘a division of the rosary,’ the pronunciation is distinct: the stress is on dec-, but the second syllable sounds like id, not ade.