Can someone please help... this doesn't make sense:
The following code should print the NSMutableArray twice... but only does once... the NSKeyedUnarchiver doesn't seem to work on windows...
------------------------------------
#import <Foundation/Foundation.h>
void printArray(NSMutableArray *anArray) { int length = [anArray count]; int i; for (i = 0; i < length; i++) { NSLog(@"object %d : %@", i, [anArray objectAtIndex:i]);
} }
int main(int argc, const char **argv) { int i; NSData *d1, *d2; BOOL result; NSMutableArray *theArray, *newArray;