On Jul 2, 2009, at 5:36 PM, Agha Khan wrote:
I have saved some objects inside GameArray (type NSMutableArray) and
I would like to change of content of an object inside that array.
GameObj is type of UIView so it has a frame.
GameObj* p = [GameArray objectAtIndex:0];
p.frame = frame;
This wo
On Jul 2, 2009, at 4:36 PM, Agha Khan wrote:
This works, but this is not changing the content inside the GameArray.
How this can be done.
Use -replaceObjectAtIndex:withObject:. You are responsible for
maintaining your own arrays; changing a pointer will not change the
contents of the ar
HI
I have saved some objects inside GameArray (type NSMutableArray) and I
would like to change of content of an object inside that array.
GameObj is type of UIView so it has a frame.
GameObj* p = [GameArray objectAtIndex:0];
p.frame = frame;
This works, but this is not changing the content