1
myApplication이라는 응용 프로그램이 있습니다. FirstView 및 SecondView라는 두 클래스로 구성됩니다. myApplicationAppDelegate에는 myArray라는 NSMutableArray라는 구성원 객체가 있습니다. FirstView 멤버 개체 myApplicationAppDelegate * 대리자가 있습니다. SecondView의 방법 중 하나에서 나는 다음과 같은 일을 해요 : AppDelegate 개체의 상호 작용
myApplicationAppDelegate * myAppDelegate = [[UIApplication sharedApplication] delegate];
[myAppDelegate.myArray setArray:anotherArray];
OK
다음 FirstView에 내가 NSUserDefaults에 delegate.myArray을 저장할. 다른 파일의 myAppDelegate.myArray에 anotherArray를 설정 한 후 delegate.myArray가 변경되었습니다. 나는 무엇을 구할 것인가? 이전 데이터 또는 새 데이터?