0
내 URI를 얻으려는 NSScriptCommand
이라는 하위 클래스를 만들었습니다.
잘 작동하며 [self directParameter]
URL을 얻습니다.in NSScriptCommand
이제 위대한 방법을 발견했습니다 [self arguments]
.
if([self isWellFormed] == YES) {
NSLog(@"is well formed");
NSDictionary *dic = [self arguments];
NSLog(@"dic = %@", dic);
}
그러나 dic
은 비어 있습니다.
MyApp[39851:813] [self commandDescription] = Command: GetURL ('GURL'/'GURL') Implementation class: URLHandlerCommand Name: , description: Result type: ('null') Description: