macOS/iOS API解説

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

目次

initWithAEDescNoCopy:

CarbonのAEDescからNSAppleEventDescriptorを初期化して返します
-(id)initWithAEDescNoCopy:(const AEDesc *)aeDesc:

解説

CarbonのAEDescからNSAppleEventDescriptorを初期化して返します。

返り値

( id )

オブジェクト()

引数

( const AEDesc * )aeDesc

クラス

NSAppleEventDescriptor

Instance Methods

使用可能

10.2

参照

例文

AEDesc resultDesc;
            
            err = AEGetAttributeDesc (&reply,keyEventClassAttr,typeChar,&resultDesc);
            
            NSAppleEventDescriptor *desc = [[NSAppleEventDescriptor alloc] initWithAEDescNoCopy:&resultDesc];