macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

-touchesBegan:withEvent:

INDEX>UIKit>UIResponder

タッチが開始された時に呼び出されます。
-(void)touchesBegan:(NSSet *)touches
          withEvent:(UIEvent *)event

解説

返り値

( void )

引数

( NSSet * )touches
( UIEvent * )event

UIEventクラス - Cocoa API解説(iOS/OS X)

クラス

UIResponder

使用可能

iOS2.0

例文