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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -