         
         return bar
     }
+    
+}
+
+// MARK: - Internal TabmanBar embedding in external view.
+public extension TabmanViewController {
     
     /// Embed the TabmanBar in an external view.
     /// This will add the bar to the specified view, and pin the bar edges to the view edges.


import UIKit

// MARK: - TabmanBar embedding + attach/detachment
public extension TabmanViewController {
    
    /// Attach a TabmanBar that is somewhere in the view hierarchy.

        self.updateBar(withLocation: self.bar.location)
        self.reloadRequiredBarInsets()
    }
    
}
