public func logout() {} // will clean up tokens from device
Get
Wishi.shared.getUserStatus { responseObject in
if let userStatus = responseObject as? UserStatus {
// Do here anything
}
} failure: { error, operation in
// TODO: Some should be shown to user
}