My app shows a map with some pin points. I would like to visualise a tableview inside a callout bubble when one of the pin is touched. I have found something similar here but it's in Objective-C (I would like a pure Swift approach) and it requires to disable auto-layout for the custom view (which I would prefer to avoid).
How can I implement this solution or where I can find a library which does it?

Here's one way:
Have your main controller implement
UIPopoverPresentationControllerDelegate, and override its method:Setup the tap gesture recognizer in viewDidLoad():
Define "tappedOnMap" to pop open a popover:
Define "tableViewControllerClass" to have your table view, and attach it to a scene in storyboard. Hope that helps.