replaceValueAtIndex:inPropertyWithKey:withValue:
指定した番号の値を置き換えます。
-(void)replaceValueAtIndex:(unsigned)index: inPropertyWithKey:(NSString *)key: withValue:(id)value:
解説
指定した番号の値を置き換えます。
返り値
( void )
なし
引数
( unsigned )index
番号
( NSString * )key
キー
( id )value
フレームワーク
Foundation
クラス
NSScriptKeyValueCoding
Instance Methods
使用可能
10.0
参照
例文
[self replaceValueAtIndex:2 inPropertyWithKey:@"aStringKey" withValue:@"ddd"];