Aobject is type of Myobject* it has an array for 6 intergers
Aobject.myArray = [NSArray arrayWithObjects:[NSNumber numberWithInt: 1], [NSNumber numberWithInt: 2],[NSNumber numberWithInt:3], [NSNumber numberWithInt:4], [NSNumber numberWithInt:5],[NSNumber numberWithInt: 6], nil];
Now I would like to randomize it. for (int j = 0; j < 6; j++) { NSNumber* aNumber = [Aobject _Edge] numberWithInt:j; // looks like my syntax is wrong. Does not compile } _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com