Welcome to the Treehouse Community
Looking to learn something new?
Ribbit: Remove Current User from edit list
Hello everyone. I want to select my friends from my edit friends list. I have the list of my friends but my name appear between them. So, I want to remove my name of the edit friend list. How can I do it?
Add the following line to the viewDidLoad :
[query whereKey:@"username" notEqualTo:self.currentUser.username];
and move the line
self.currentUser = [PFUser currentUser];
from the end to the beginning of the method, and after [super viewDidLoad]
Thank you, Ezequiel for your help. It was good. Muchas gracias por todo Que tengas un buen dia.
De nada ;) Have a nice day