How to change object in an NSArray?
I have two NSArray instances and I would like to change one object in the
first NSArray with another object in the second NSArray.
This is what I have tried to do but with no luck:
[[arrrndwords objectsinindex:i] replace object in index:1 with:[arrword
indexinobject:rndnum]];
It throws me out of the app when I run it.
No comments:
Post a Comment