123456789101112131415161718192021222324252627 |
- //
- // MCNavBarCustomView.swift
- // HCQuanfangtong
- //
- // Created by Apple on 2022/8/2.
- // Copyright © 2022 Jyp. All rights reserved.
- //
- import UIKit
- class MCNavBarCustomView: MCNavBarView {
- init(customView: UIView, style: MCNavBarStyle? = nil) {
- super.init(title: nil, subTitle: nil, style: style)
- self.contentView.addArrangedSubview(customView)
- self.resetConstraint()
- }
-
- override var type: MCNavBarType{
- .custom
- }
-
- required init?(coder: NSCoder) {
- fatalError("init(coder:) has not been implemented")
- }
- }
|