We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to do some thing like this below, could any one help me out in acheving it.
(void)contactPickerTextViewDidChange:(NSString *)textViewText {
[self.contactPickerView becomeFirstResponder]; NSString *sql;
if ([textViewText isEqualToString:@""]){ } else {
if(contactpicker.tag==1) sql = [NSString stringWithFormat: @"Select id, Name, lastname, firstname ORDER BY lastname LIMIT 25", textViewText,textViewText,textViewText]; NSLog(@"%@",sql);
if(contactpicker.tag==2) sql = [NSString stringWithFormat: @"Select id, Name, lastname, firstname ORDER BY lastname LIMIT 25", textViewText,textViewText,textViewText];
NSLog(@"%@",sql);
SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:sql]; [[SFRestAPI sharedInstance] send:request delegate:self];
//self.filteredContacts = [self.contacts filteredArrayUsingPredicate:predicate]; } [self.tableView reloadData];
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to do some thing like this below, could any one help me out in acheving it.
(void)contactPickerTextViewDidChange:(NSString *)textViewText {
[self.contactPickerView becomeFirstResponder];
NSString *sql;
if ([textViewText isEqualToString:@""]){
}
else {
if(contactpicker.tag==1)
sql = [NSString stringWithFormat: @"Select id, Name, lastname, firstname ORDER BY lastname LIMIT 25", textViewText,textViewText,textViewText];
NSLog(@"%@",sql);
if(contactpicker.tag==2)
sql = [NSString stringWithFormat: @"Select id, Name, lastname, firstname ORDER BY lastname LIMIT 25", textViewText,textViewText,textViewText];
SFRestRequest *request = [[SFRestAPI sharedInstance] requestForQuery:sql];
[[SFRestAPI sharedInstance] send:request delegate:self];
}
The text was updated successfully, but these errors were encountered: