hello again, i am experimenting with the addobject method ,and previously i have managed to interrogate the contains of the nsmutablearray within the debugger, but this time although no error or warning message is being displayed i can't seem to do it. The array variable is there, but shows no contents?
the array is declared as part of a class in the usual way
with
in the header
and in the implementation file
later in the implementation file , i have the following line
just after this command i set up a break point and look at the scoreLog
but there nothing inside it?
any ideas?
the array is declared as part of a class in the usual way
with
Code:
NSMutableArray *scoreLog;
@property(nonatomic,strong) NSMutableArray *scoreLog;
in the header
and in the implementation file
@synthesize scoreLog;
later in the implementation file , i have the following line
Code:
[scoreLog addObject:[NSNumber numberWithInt:10]];
just after this command i set up a break point and look at the scoreLog
but there nothing inside it?
any ideas?
Last edited by a moderator: