macOS/iOS API解説

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

目次

removeDescriptorAtIndex:

指定した位置のデスクリプタを取り除きます
-(void)removeDescriptorAtIndex:(long int)anIndex:

解説

指定した位置(anIndex)のデスクリプタを取り除きます。レシーバはリストデスクリプタ。エラーが発生すればnilを返します。

返り値

( void )

なし

引数

( long int )anIndex

指定する位置

クラス

NSAppleEventDescriptor

Instance Methods

使用可能

10.0

参照

- descriptorAtIndex:
- insertDescriptor:atIndex:

例文

NSLog(@"%@",NSFileTypeForHFSTypeCode([desc keywordForDescriptorAtIndex:0]));