NSArray *test1 = [NSArray arrayWithObjects:@"1",@"2", nil];
NSArray *test2 = [NSArray arrayWithObjects:@"1",@"2", nil];
NSArray *test3 = [NSArray arrayWithObjects:@"1",@"2", nil];
NSLog(@"%d", [test1 count] == [test2 count] == [test3 count]);
왜 인쇄됩니까?obj-c NSArray 개수 비교 실패
+1 내가 응시 무언가 잘못되었다고 생각하면서 5 분 동안 코드를 작성했지만 손가락을 집어 넣을 수는 없었습니다. 내 프로젝트를 위해서, 나는 오늘 서류 작업을 더 잘해야한다고 생각한다. –