随笔分类 -  swift5

swift5入门
摘要:使用OC FMDB,然后桥接 创建一个桥接文件, #ifndef Bridge_Header_h #define Bridge_Header_h #import "FMDB.h" #endif /* Bridge_Header_h */ 不能使用 cocoapods管理,只能把框架源码导入swift 阅读全文
posted @ 2022-01-30 17:44 johnson--save 阅读(252) 评论(0) 推荐(0) 编辑
摘要:import UIKit import AVKit class AVPlayerViewVC: UIViewController ,AVPlayerViewControllerDelegate{ lazy var playerVc: AVPlayerViewController = { let pl 阅读全文
posted @ 2022-01-30 15:52 johnson--save 阅读(903) 评论(0) 推荐(1) 编辑
摘要:// // ViewController.swift // AVPlayer播放远程视频 // // Created by lujun on 2022/1/30. // import UIKit import AVKit class ViewController: UIViewController 阅读全文
posted @ 2022-01-30 11:44 johnson--save 阅读(561) 评论(0) 推荐(0) 编辑
摘要:// // AudioTool.swift // ReconderSuccess1 // // Created by lujun on 2022/1/27. // import UIKit import AVFoundation class AudioTool: NSObject { class f 阅读全文
posted @ 2022-01-27 17:33 johnson--save 阅读(183) 评论(0) 推荐(0) 编辑
摘要:// // ViewController.swift // ReconderSuccess1 // // Created by lujun on 2022/1/27. // import UIKit import AVFoundation class ViewController: UIViewCo 阅读全文
posted @ 2022-01-27 17:05 johnson--save 阅读(326) 评论(0) 推荐(0) 编辑
摘要:首先跳到文件夹/用户/lujun/资源库/Developer/Xcode/DerivedData/ 里面是编译好的工程目录。这个要知道。 二。 新建一个 Framework 库 , 默认是 动态库。 可以调成静态库。 阅读全文
posted @ 2021-11-26 17:07 johnson--save 阅读(58) 评论(0) 推荐(0) 编辑
摘要:swift5 正则表达式入门 // // ViewController.swift // 正则表达式学习 // // Created by lujun on 2021/11/25. // /** */ import UIKit class ViewController: UIViewControll 阅读全文
posted @ 2021-11-25 21:55 johnson--save 阅读(154) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示