- (IBAction)advanced_search_clickled:(id)sender {
self.google.gURL = [NSString stringWithFormat:@"http://www.google.com/search?%@&%@&%@&%@&%@&%@&%@&%@&%@&%@&%@&%@&%@&%@&%@", self.google.all_these_words_string, self.google.this_exact_word_or_phrase_string, self.google.any_of_these_words_string, self.google.none_of_these_words_string, self.google.num_range1_string, self.google.num_range2_string, self.google.language_string, self.google.region_string, self.google.last_update_string, self.google.site_or_domain_string, self.google.terms_appearing_string, self.google.safeSearch_string, self.google.reading_level_string, self.google.file_type_string, self.google.usage_rights_string];
}
在NSStrings
或NSPopUpMenu
发生更改时,我会使用其他操作来分配字符串值(NSTextField
)。当我运行它时,偶尔可以(取决于我与之交互的控件)我得到不同的代码编号错误而不是1,它有时是13,并且在极少数情况下它确实有效,所有字符串都是(null)
。运行时也会出现同样的错误:0x7fff870cb989: xorl %edi, %edi