Get the current user details
let appDelegate = UIApplication.shared.delegate as! AppDelegate appDelegate.mitter.users.getCurrentUser {
result in
switch result {
case .success(let user):
print("Current User is: \(user)")
case .error:
print("Unable to get user!")
}
}Last updated