|
|
@ -75,38 +75,16 @@
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (void) viewWillAppear {
|
|
|
|
- (void) serverDidSetRoot:(NSString *)path {
|
|
|
|
NSLog(@"[MainViewController] viewWillAppear");
|
|
|
|
[self.selectedDirectoryText setStringValue:path];
|
|
|
|
return [super viewWillAppear];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (void) viewDidAppear {
|
|
|
|
|
|
|
|
NSLog(@"[MainViewController] viewDidAppear");
|
|
|
|
|
|
|
|
return [super viewDidAppear];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (void) viewWillDisappear {
|
|
|
|
|
|
|
|
NSLog(@"[MainViewController] viewWillDisappear");
|
|
|
|
|
|
|
|
return [super viewWillDisappear];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (void) viewDidDisappear {
|
|
|
|
|
|
|
|
NSLog(@"[MainViewController] viewDidDisappear");
|
|
|
|
|
|
|
|
return [super viewDidDisappear];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (void) viewWillLayout {
|
|
|
|
|
|
|
|
NSLog(@"[MainViewController] viewWillLayout");
|
|
|
|
|
|
|
|
return [super viewWillLayout];
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (void) viewDidLayout {
|
|
|
|
- (void) serverDidBeginHandlingRequest {
|
|
|
|
NSLog(@"[MainViewController] viewDidLayout");
|
|
|
|
NSLog(@"[MainViewController] request start");
|
|
|
|
return [super viewDidLayout];
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (void) serverDidSetRoot:(NSString *)path {
|
|
|
|
- (void) serverDidFinishHandlingRequest {
|
|
|
|
[self.selectedDirectoryText setStringValue:path];
|
|
|
|
NSLog(@"[MainViewController] request finish");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
@end
|
|
|
|