LPMetadataProvider Obj C?!?!?!

Can anyone help me determine what to do next with the metadata.imageProvider? I'm trying to display a preview of my link but there is nothing anywhere on the web of how to do this in obj c.


// vars
        LPMetadataProvider *metadataProvider = [LPMetadataProvider new];
        [metadataProvider startFetchingMetadataForURL:[NSURL URLWithString:@"http://www.apple.com/ipad"] completionHandler:^(LPLinkMetadata *metadata, NSError *error){
            // check
            if(!error){
                NSLog(@"metadata: %@", metadata.title);
                NSLog(@"metadata: %@", metadata.imageProvider);
                NSLog(@"metadata: %@", metadata.iconProvider);
                
                
                // get ui
                dispatch_async(dispatch_get_main_queue(), ^{
                    //
                });
                
            }
        }];

What would the code look like in swift?

LPMetadataProvider Obj C?!?!?!
 
 
Q