을 닫고 두 개의 서로 다른 클래스목적 C : 오픈이 열린 두 IBAction를 내 코드 하위 뷰를
- (IBAction) showListClient:(id) sender {
if(list == nil){
list = [[ListClient alloc] initWithNibName:@"ListClient" bundle:nil];
[list setDelegate:self];
[self.view addSubview:list.view];
}
}
에 하위 뷰를 닫고 가까운
-(IBAction)closeListClient {
[self.view removeFromSuperview];
}
지금 그것은을위한 괜찮아요 나는 더 많은 시간 내 목록을 사용하려면 처음,하지만 난 closeListClient에 작성해야
list = nil;
[list release];
이제 내 문제는이 "목록"O를 선언한다 할수 있답니다
ListClient *list;
내가 CloseListClient에 목록을 작성할 때 오류가 ... 내가 무엇을 할 수와 같은 클래스 ListClient에서?
감사합니다. – CrazyDev