WillBottomSheet 1.0.0

WillBottomSheet 1.0.0

Willy 维护。



  • willshërë

WillBottomSheet

CI Status Version License Platform

演示

示例

要运行示例项目,请克隆仓库,然后先从 Example 目录运行 pod install

let controller = Bottomsheet.Controller()

// Adds View
let view = UIView
controller.addContentsView(view)

// Adds CollectionView
controller.addCollectionView { [weak self] collectionView in
    // collectionView
}

// Adds TableView
controller.addTableView { [weak self] tableView in
    // tableView
}

// customize
controller.overlayBackgroundColor = UIColor(red: 255, green: 0, blue: 0, alpha: 0.3)
controller.viewActionType = .tappedDismiss
controller.initializeHeight = 200

安装

WillBottomSheet 可通过 CocoaPods 使用。要安装它,只需将以下行添加到您的 Podfile 中:

pod 'WillBottomSheet'

作者

willshërë,[email protected]

许可协议

WillBottomSheet受MIT许可协议保护。更多信息见LICENSE文件。