macOS/iOS API解説

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

目次

insertChild:atIndex:

子アイテムを挿入します
-(void)insertChild:(NSXMLNode *)child:
              atIndex:(unsigned int)index:

解説

子アイテムを挿入します。

返り値

( void )

なし

引数

( NSXMLNode * )child

挿入する子アイテム

( unsigned int )index

挿入する場所の番号

クラス

NSXMLDocument

Instance Methods

使用可能

10.4

参照

-addChild:
-insertChildren:atIndex:
-removeChildAtIndex:
-replaceChildAtIndex:withNode:

例文