I'm currently trying to translate a tutorial for game center from Objective C into Swift and I've hit roadblock. I've been searching for about an hour and haven't been able to find anything too helpful to help me translate this callback-method:
- (void)matchmakerViewController:(GKMatchmakerViewController *)viewController didFailWithError:(NSError *)error {
[viewController dismissViewControllerAnimated:YES completion:nil];
NSLog(@"Error finding match: %@", error.localizedDescription);
Sorry if this is easy (it probably is). I'm new to Swift and would love some help.. Thanks in advanced!