             completion?(true)
         }
     }
-    
+
     /**
      Change the current primary content view controller (The one behind the drawer). This method exists for backwards compatibility.
-     
+
      - parameter controller: The controller to replace it with
      - parameter animated:   Whether or not to animate the change. Defaults to true.
      */


/**
 Represents a BottomSheet drawer position.
 
 - collapsed:         When the drawer is in its smallest form, at the bottom of the screen.
 - partiallyRevealed: When the drawer is partially revealed.
 - open:              When the drawer is fully open.
 - closed:            When the drawer is off-screen at the bottom of the view. Note: Users cannot close or reopen the drawer on their own. You must set this programatically
 */
@objc public class BottomSheetPosition: NSObject {
    
    public static let collapsed = BottomSheetPosition(rawValue: 0)
    public static let partiallyRevealed = BottomSheetPosition(rawValue: 1)
    public static let open = BottomSheetPosition(rawValue: 2)
    public static let closed = BottomSheetPosition(rawValue: 3)
    
    public static let all: [BottomSheetPosition] = [
        .collapsed,
        .partiallyRevealed,
        .open,
        .closed
    ]
    
    let rawValue: Int
    
    init(rawValue: Int) {
        self.rawValue = rawValue
    }
    
    public static func positionFor(string: String?) -> BottomSheetPosition {
        
        guard let positionString = string?.lowercased() else {
            
            return .collapsed
        }
        
        switch positionString {
            
        case "collapsed":
            return .collapsed
            
        case "partiallyrevealed":
            return .partiallyRevealed
            
        case "open":
            return .open
            
        case "closed":
            return .closed
            
        default:
            print("BottomSheetViewController: Position for string '\(positionString)' not found. Available values are: collapsed, partiallyRevealed, open, and closed. Defaulting to collapsed.")
            return .collapsed

    {
        setDrawerContentViewController(controller: controller, animated: animated, completion: nil)
    }

    /**
     Update the supported drawer positions allows by the BottomSheet Drawer
     */
