Add + Update screen : PlayMusic
This commit is contained in:
@@ -60,7 +60,7 @@ class StoryboardController: UIViewController {
|
||||
extension StoryboardController: ContainerControllerDelegate {
|
||||
|
||||
|
||||
func addContainer(position: ContainerPosition, radius: CGFloat, items: [TableAdapterItem]? = nil, delegate: ContainerControllerDelegate? = nil, addShadow: Bool = true, addBackShadow: Bool = false, header: UIView? = nil, footer: UIView? = nil) -> (ContainerController, TableAdapterView) {
|
||||
func addContainer(position: ContainerPosition, radius: CGFloat, items: [TableAdapterItem]? = nil, delegate: ContainerControllerDelegate? = nil, addShadow: Bool = true, addBackShadow: Bool = false, header: UIView? = nil, footer: UIView? = nil, back: UIView? = nil) -> (ContainerController, TableAdapterView) {
|
||||
|
||||
let layoutC = ContainerLayout()
|
||||
layoutC.positions = position //
|
||||
@@ -89,6 +89,8 @@ extension StoryboardController: ContainerControllerDelegate {
|
||||
container.set(backgroundShadowShow: addBackShadow)
|
||||
|
||||
container.view.backgroundColor = .white
|
||||
|
||||
|
||||
// container.view.backgroundColor = color
|
||||
|
||||
if let headerV = header {
|
||||
@@ -99,6 +101,10 @@ extension StoryboardController: ContainerControllerDelegate {
|
||||
container.add(footerView: footerV)
|
||||
}
|
||||
|
||||
if let back = back {
|
||||
container.backView?.addSubview(back)
|
||||
}
|
||||
|
||||
let table = TableAdapterView(frame: CGRect(x: 0, y: 0, width: ContainerDevice.width, height: 0), style: .plain)
|
||||
table.indicatorStyle = .default
|
||||
// container.add(scrollView: addCollectionView())
|
||||
|
||||
Reference in New Issue
Block a user