I want to add element in the array dynamically. For this I am using
[myArray addObject:myword];
myword is a NSMutableString type object.
on each button click myword get changes. But all the element of array store the last value. Suppose first time the array has 1 element = "me" Second time array should have 2 element = "me", "you". But it shows "me", "me". what may be the problem?