JLChen
2021-04-30 a5247b61d585627a1a7b1e1f35f34de9f0af9fba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
//  Copyright © 2020 jm. All rights reserved.
//
 
import UIKit
 
import Foundation
 
public extension Bundle {
    
    static var base_bundle: Bundle? = nil
    
    @objc class func demo_BaseBundle() -> Bundle? {
 
        if self.base_bundle == nil, let path = Bundle(for: LCBaseModule.classForCoder()).path(forResource: "LCBaseModuleBundle", ofType: "bundle") {
            self.base_bundle = Bundle(path: path)
        }
        
        return self.base_bundle
    }
}