macOS/iOS API解説

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

目次

NSAppleEventDescriptor

NSAppleEventDescriptorクラス

Index>Foundation>NSAppleEventDescriptor NSAppleEventDescriptor apple(mac) 解説 継承 NSObject 準拠 NSCopying NSObject (NSObject) フレームワーク /System/Library/Frameworks/Foundation.framework 使用可能 Mac OS X v10.0以降 定義 NSAppleEventDes…

descriptorAtIndex:

指定した位置のアップルイベントデスクリプタを返します -(NSAppleEventDescriptor *)descriptorAtIndex:(long int)anIndex: 解説 指定した位置(anIndex)のアップルイベントデスクリプタを返します。エラーが発生すればnilを返します。 返り値 ( NSAppleEven…

descriptorWithDescriptorType:bytes:length:

指定したタイプとプロセス番号でアップルイベントデスクリプタを返します。 +(NSAppleEventDescriptor *)descriptorWithDescriptorType:(DescType)descriptorType: bytes:(const void *)bytes: length:(unsigned int)byteCount: 解説 指定した記述タイプ(des…

descriptorWithBoolean:

bool値のデスクリプタを作って返します +(NSAppleEventDescriptor *)descriptorWithBoolean:(Boolean)boolean: 解説 bool値のデスクリプタを作って返します。 返り値 ( NSAppleEventDescriptor * ) アップルイベントデスクリプタ 引数 ( Boolean )boolean フ…

descriptorWithEnumCode:

enumコードのデスクリプタを作って返します +(NSAppleEventDescriptor *)descriptorWithEnumCode:(OSType)enumerator: 解説 enumコードのデスクリプタを作って返します。 返り値 ( NSAppleEventDescriptor * ) アップルイベントデスクリプタ 引数 ( OSType )…

descriptorWithInt32:

32ビット整数のデスクリプタを作って返します +(NSAppleEventDescriptor *)descriptorWithInt32:(SInt32)signedInt: 解説 32ビット整数のデスクリプタを作って返します。 返り値 ( NSAppleEventDescriptor * ) アップルイベントデスクリプタ 引数 ( SInt32 )…

descriptorWithString:

文字列のデスクリプタを作って返します +(NSAppleEventDescriptor *)descriptorWithString:(NSString *)string: 解説 文字列のデスクリプタを作って返します。 返り値 ( NSAppleEventDescriptor * ) アップルイベントデスクリプタ 引数 ( NSString * )string…

descriptorWithTypeCode:

OSTypeのデスクリプタを作って返します 解説 OSTypeのデスクリプタを作って返します。 返り値 ( NSAppleEventDescriptor * ) アップルイベントデスクリプタ 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Class Methods 使用可能 10.2 参照…

initWithAEDescNoCopy:

CarbonのAEDescからNSAppleEventDescriptorを初期化して返します -(id)initWithAEDescNoCopy:(const AEDesc *)aeDesc: 解説 CarbonのAEDescからNSAppleEventDescriptorを初期化して返します。 返り値 ( id ) オブジェクト() 引数 ( const AEDesc * )aeDesc…

initWithDescriptorType:bytes:length:

デスクリプタタイプでアップルイベントデスクリプタを初期化して返します -(id)initWithDescriptorType:(DescType )descriptorType: bytes:(const void *)descriptorType: length:(unsigned int) byteCount: 解説 デスクリプタタイプでアップルイベントデス…

aeDesc

AEDescへのポインタを返します 解説 AEDescへのポインタを返します。 返り値 ( const AEDesc * ) 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.2 参照 例文 #import "Controller.h" @implementation Control…

booleanValue

アップルイベントデスクリプタのbool値を返します 解説 アップルイベントデスクリプタのbool値を返します。 返り値 ( Boolean ) YES/NO 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.2 参照 例文 ([aeDesc b…

enumCodeValue

アップルイベントデスクリプタのenumコード値を返します 解説 アップルイベントデスクリプタのenumコード値を返します。 返り値 ( OSType ) 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.2 参照 例文 NSLog(…

int32Value

アップルイベントデスクリプタの32ビット整数値を返します 解説 アップルイベントデスクリプタの32ビット整数値を返します。 返り値 ( SInt32 ) 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.2 参照 例文 NS…

stringValue

アップルイベントデスクリプタの文字列値を返します 解説 アップルイベントデスクリプタの文字列値を返します。 返り値 ( NSString * ) 文字列 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.2 参照 例文 NSL…

typeCodeValue

アップルイベントデスクリプタのタイプコード値を返します 解説 アップルイベントデスクリプタのタイプコード値を返します。 返り値 ( OSType ) 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.2 参照 例文 NS…

setParamDescriptor:forKeyword:

デスクリプタレコードとキーワードをレシーバーにセットします -(void)setParamDescriptor:(NSAppleEventDescriptor *)descriptor: forKeyword:(AEKeyword)keyword: 解説 デスクリプタレコードとキーワードをレシーバーにセットします。 レシーバーは、アッ…

descriptorForKeyword:

キーワードで指定したアップイベントデスクリプタを返します -(NSAppleEventDescriptor *)descriptorForKeyword:(AEKeyword)keyword: 解説 キーワード(keyword)で指定したアップイベントデスクリプタを返します。 エラーが発生すればnilを返します。 返り値 …

descriptorType

デスクリプタタイプを返します 解説 デスクリプタタイプを返します。デスクリプタタイプ(DescType)はデータのタイプです。 返り値 ( DescType ) デスクリプタタイプ 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可…

eventClass

イベントクラスを返します 解説 イベントクラスを返します。 返り値 ( AEEventClass ) アップルイベントイベントクラス 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.0 参照 例文 #import "Controller.h" @i…

eventID

イベントIDを返します 解説 イベントIDを返します。 返り値 ( AEEventID ) アップルイベントID 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.0 参照 例文 #import "Controller.h" @implementation Controlle…

init

パラメータや属性値なしでアップルイベントデスクリプタを初期化して返します 解説 パラメータや属性値なしでアップルイベントデスクリプタを初期化して返します。 返り値 ( id ) アップルイベントデスクリプタ 引数 フレームワーク Foundation クラス NSApp…

initListDescriptor

リストデスクリプタとしてレシーバを初期化します 解説 リストデスクリプタとしてレシーバを初期化します。エラーが発生すればnilを返します。 返り値 ( id ) アップルイベントデスクリプタ 引数 フレームワーク Foundation クラス NSAppleEventDescriptor I…

initRecordDescriptor

レコードデスクリプタとして初期化して返します 解説 レコードデスクリプタとして初期化して返します。エラーが発生すればnilを返します。 返り値 ( id ) アップルイベントデスクリプタ 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Insta…

initWithDescriptorType:data:

デスクリプタタイプで指定されるオブジェクトを指定したデータで初期化して返します -(id)initWithDescriptorType:(DescType)descType: data:(NSData *)data: 解説 デスクリプタタイプ(descType)で指定されるオブジェクトを指定したデータ(data)で初期化して…

initWithEventClass:eventID:targetDescriptor:returnID:transactionID:

記述タイプとプロセス番号でアップルイベントデスクリプタを初期化して返します -(id)initWithEventClass:(AEEventClass)eventClass: eventID:(AEEventID)eventID: targetDescriptor:(NSAppleEventDescriptor *)addressDescriptor: returnID:(AEReturnID)ret…

insertDescriptor:atIndex:

指定した位置にデスクリプタを挿入します -(void)insertDescriptor:(NSAppleEventDescriptor *)descriptor: atIndex:(long int)anIndex: 解説 指定した位置にデスクリプタを挿入します。レシーバはリストデスクリプタ。 返り値 ( void ) なし 引数 ( NSApple…

keywordForDescriptorAtIndex:

指定した位置のデスクリプタのキーワードを返します -(AEKeyword)keywordForDescriptorAtIndex:(long int)anIndex: 解説 指定した位置のデスクリプタのキーワードを返します。エラーが発生すれば0を返します。 返り値 ( AEKeyword ) アップルイベントキーワ…

numberOfItems

デスクリプタの項目数を返します 解説 デスクリプタの項目数を返します。エラーが発生すれば0を返します。 返り値 ( long int ) 整数値 引数 フレームワーク Foundation クラス NSAppleEventDescriptor Instance Methods 使用可能 10.0 参照 例文 #import "C…

paramDescriptorForKeyword:

指定したキーワードのデスクリプタを返します -(NSAppleEventDescriptor *)paramDescriptorForKeyword:(AEKeyword)keyword: 解説 指定したキーワードのデスクリプタを返します。レシーバはアップルイベント。エラーが発生すればnilを返します。 返り値 ( NSA…