[Solved] swift if statement
Something like the following? if message.ReceiverId != self.loggedInUserUid { var newVariable = message.ReceiverId } else if message.senderId != self.loggedInUserUid { var newVariable = message.senderId } 0 solved swift if statement