macOS/iOS API解説

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

目次

initWithRect:options:owner:userInfo:

**

-(NSTrackingArea *)initWithRect:(NSRect)rect:
         options:(NSTrackingAreaOptions)options:
         owner:(id)owner:
         userInfo:(NSDictionary *)userInfo:

解説

マウストラッキングイベント、マウスムーブイベント、カーソルアップデートイベント、またこれらのすべてのイベントと関連する定義されたビューのリージョンオブジェクトを初期化して返します。

返り値

( NSTrackingArea * )

引数

( NSRect )rect
( NSTrackingAreaOptions )options
( id )owner
( NSDictionary * )userInfo

フレームワーク

ApplicationKit

クラス

NSTrackingArea

使用可能

10.5

参照

例文