我有一個簡單的問題,如果我使用ASIFormDataRequest時,我需要釋放請求對象?Iphone:需要發佈使用ASIFormDataRequest
NSURL *url = [NSURL URLWithString:@"url"];
ASIFormDataRequest *requestForm = [ASIFormDataRequest requestWithURL:url];
[requestForm addPostValue:[[NSUserDefaults standardUserDefaults] stringForKey:@"user"] forKey:@"user"];
[requestForm setRequestMethod:@"POST"];
[requestForm setDelegate:self];
[requestForm startAsynchronous];
感謝
所以,如果我使用: NSPredicate * eventPredicate = [NSPredicate predicateWithFormat:\t \t \t \t \t \t \t \t \t \t @ 「(事件==%@)」,[項目objectForKey:@ 「事件」]]; [eventRequest setPredicate:eventPredicate]; 我不需要釋放謂詞,對嗎? – xger86x 2011-01-11 14:56:52