NSMutableArray* testArray = [[[NSMutableArray alloc] initWithObjects:@"0",@"1",@"2",@"3",@"4",@"5",@"6",@"7",@"8",@"9",@"11",@"12", @"13",@"14", nil] autorelease]; [[NSNotificationCenter defaultCenter] postNotificationName:kLoginSucceedNotificationKey object:testArray]; --- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(loginSucceed:) name:kLoginSucceedNotificationKey object:nil]; -(void)loginSucceed:(NSNotification*)aNotification { NSMutableArray* dataArray = [aNotification object]; } -- [[NSNotificationCenter defaultCenter] removeObserver:self name:kLoginSucceedNotificationKey object:nil];