使用 jsdelivr 加速 cocoapod 库
ll IJKMediaFramework-Test.tar.xz -rw-r–r– 1 caijinglong staff 33M 3 18 13:58 IJKMediaFramework-Test.tar.xz 这里大小是 ok 的. 再解压一下试试
ll drwxr-xr-x 7 caijinglong …!-->!-->
!-->!-->Android/Flutter开发者,对于golang/python/ios/java 均有所了解
ll IJKMediaFramework-Test.tar.xz -rw-r–r– 1 caijinglong staff 33M 3 18 13:58 IJKMediaFramework-Test.tar.xz 这里大小是 ok 的. 再解压一下试试
ll drwxr-xr-x 7 caijinglong …!-->!-->
!-->!-->18 directories, 46 files 发现打包出来的是.a 文件, 这里我们需要修改一下 ios 目录下的文件, 以便于打包出来 framework 文件, 因为 framework 是 apple 提供的一种打包方案, 直接将所有需要的资源包括头文件,库文件都聚集到了一起,方便引用, 而.a 文件就不一样了, 还需要包含对应的头文件
37 …
!-->!-->+(void) …!-->!-->
!-->import 'package:flutter/services.dart';
class BattlePower { static const MethodChannel _channel = const MethodChannel('battle_power');
static Future<String> get …!-->!-->!-->!-->!-->!-->!-->!-->!-->
!-->extension UIViewController{ func setNavigatorLeftItem(customView:UIView) { var view:UIView if #available(iOS 11, *){ let padding:CGFloat = 20 let frame = customView.frame view = …!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->!-->
!-->import Foundation import CoreBluetooth
protocol BluetoothHelperDelegate {
<span style="color:#66d9ef">func</span> <span …
!-->
<span style="color:#66d9ef">static</span> <span style="color:#66d9ef">func</span> <span …
!-->
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at …
!-->