macOS/iOS API解説

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

目次

propertyWithClass:code:

指定したクラスでプロパティを返します
-(SBObject *)propertyWithClass:(Class)cls:
        code:(AEKeyword)code:

解説

指定したクラスでプロパティを返します。

返り値

( SBObject * )

引数

( Class )cls
( AEKeyword )code

フレームワーク

ScriptingBridge

クラス

SBApplication

使用可能

10.5

参照

例文

NSLog(@"'prop' %@",[[indesign propertyWithClass: [InDesignDocument class] code: [[ NSAppleEventDescriptor descriptorWithTypeCode:'prop'] aeDesc] ] description]);