To run the example project, clone the repo, and run pod install
from the Example directory first.
/* readme.md Pods
Created by chiehchun.lee on 2021/4/21.
*/
in .podspec
s.resource_bundles = {
'_bundleName' => ['[framework]/Assets/**/*','[framework]/**/*.{js}']
}
public extension Bundle {
static var myBundle : JKOBundleDSL? {
return JKOBundleDSL(mainBundleName: "_bundleName", anyClassNameInSameBundle: "_bundleName._bundleNameViewController")
}
}
Bundle.myBundle?.main?.fetchJSScript(with: fileName)
JJBundle is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'JJBundle'
JJingLee, whplue07@gmail.com
JJBundle is available under the MIT license. See the LICENSE file for more info.