/ Published in: Objective C

Using the searchUnity function to read groups and contacts from a Unity server based on a search string.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
static bool groupSearchIsOn = YES; { if(success && ![self.contactSearchBar.text isEqualToString:@""]) { if(array) { { if(groupSearchIsOn) { if(((Entity *)object).isGroup) { [temp addObject:object]; } } else { if(!((Entity *)object).isGroup) { { [temp addObject:object]; } } } }
Comments
