iphone - Replace The object at index of NSMutablearray objective c? -
main array :
( "thursday, apr 18,2013", xyz, ( "give ", "lv" ), ( "wed", "mon" ) )
for main array need add sub array:
sub array : ( "hi" )
when click on x button sub array objects increces example :
sub array : ( "hi" "hello" )
how can add main array?
you can use :
[array replaceobjectatindex:index withobject:newobject];
Comments
Post a Comment