addChild:
ノードを追加します
-(void)addChild:(NSXMLNode *)child:
解説
ノードを追加します。
返り値
( void )
なし
引数
( NSXMLNode * )child
フレームワーク
Foundation
クラス
NSXMLDocument
Instance Methods
使用可能
10.4
参照
-insertChild:atIndex:
-removeChildAtIndex:
-setChildren:
例文
[root addChild:[NSXMLNode commentWithStringValue:@"nodestring"]];