 
 class ViewController: UIViewController, PanelManager {
 
-	var mapPanelContentViewController: MapPanelContentViewController!
-	var mapPanelViewController: PanelViewController!
+	var mapPanelContentVC: MapPanelContentViewController!
+	var mapPanelVC: PanelViewController!
 	
-	var textPanelContentViewController: TextPanelContentViewController!
-	var textPanelViewController: PanelViewController!
+	var textPanelContentVC: TextPanelContentViewController!
+	var textPanelVC: PanelViewController!
 	
 
 	@IBOutlet weak var contentWrapperView: UIView!

	
	@IBAction func showMap(_ sender: UIBarButtonItem) {
	
		mapPanelViewController.modalPresentationStyle = .popover
		
		mapPanelViewController.popoverPresentationController?.barButtonItem = sender
		
		present(mapPanelViewController, animated: true, completion: nil)
		
	}
	
	@IBAction func showTextViewPanel(_ sender: UIBarButtonItem) {
	
		textPanelViewController.modalPresentationStyle = .popover
		
		textPanelViewController.popoverPresentationController?.barButtonItem = sender
		
		present(textPanelViewController, animated: true, completion: nil)
		
	}


	override func viewDidLoad() {
		super.viewDidLoad()
		
		mapPanelContentVC = storyboard?.instantiateViewController(withIdentifier: "MapPanelContentViewController") as! MapPanelContentViewController
		
		mapPanelVC = PanelViewController(with: mapPanelContentVC, in: self)
		
		
		textPanelContentVC = storyboard?.instantiateViewController(withIdentifier: "TextPanelContentViewController") as! TextPanelContentViewController
		
		textPanelVC = PanelViewController(with: textPanelContentVC, in: self)
		
	}
	
