macOS/iOS API解説

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

目次

descriptorWithString:

文字列のデスクリプタを作って返します
+(NSAppleEventDescriptor *)descriptorWithString:(NSString *)string:

解説

文字列のデスクリプタを作って返します。

返り値

( NSAppleEventDescriptor * )

アップルイベントデスクリプタ

引数

( NSString * )string

クラス

NSAppleEventDescriptor

Class Methods

使用可能

10.2

参照

例文

//utxt($00610062006300640065$)を作りたい場合
NSAppleEventDescriptor* targetDesc2 = 
        [NSAppleEventDescriptor descriptorWithString:@"abcde"];