随笔分类 - swift5
swift5入门
摘要:使用OC FMDB,然后桥接 创建一个桥接文件, #ifndef Bridge_Header_h #define Bridge_Header_h #import "FMDB.h" #endif /* Bridge_Header_h */ 不能使用 cocoapods管理,只能把框架源码导入swift
阅读全文
摘要:import UIKit import AVKit class AVPlayerViewVC: UIViewController ,AVPlayerViewControllerDelegate{ lazy var playerVc: AVPlayerViewController = { let pl
阅读全文
摘要:// // ViewController.swift // AVPlayer播放远程视频 // // Created by lujun on 2022/1/30. // import UIKit import AVKit class ViewController: UIViewController
阅读全文
摘要:// // AudioTool.swift // ReconderSuccess1 // // Created by lujun on 2022/1/27. // import UIKit import AVFoundation class AudioTool: NSObject { class f
阅读全文
摘要:// // ViewController.swift // ReconderSuccess1 // // Created by lujun on 2022/1/27. // import UIKit import AVFoundation class ViewController: UIViewCo
阅读全文
摘要:首先跳到文件夹/用户/lujun/资源库/Developer/Xcode/DerivedData/ 里面是编译好的工程目录。这个要知道。 二。 新建一个 Framework 库 , 默认是 动态库。 可以调成静态库。
阅读全文
摘要:swift5 正则表达式入门 // // ViewController.swift // 正则表达式学习 // // Created by lujun on 2021/11/25. // /** */ import UIKit class ViewController: UIViewControll
阅读全文