摘要: ///字符串转双精度后去除小数点00 static func convertStringToString(_ str: String) -> String? { if let doubleValue = Double(str) { let numberFormatter = NumberFormat 阅读全文
posted @ 2024-04-12 11:56 懂事长qingzZ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 点击空格预览 然后复制出来对应的uuid 阅读全文
posted @ 2024-03-25 18:58 懂事长qingzZ 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-03-13 17:23 懂事长qingzZ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: @interface SHMaasPTOnlineCarMatchmakingCircleCountdownView : UIView @property (nonatomic, assign) NSInteger countdownDuration; // 倒计时总秒数 @property (no 阅读全文
posted @ 2024-01-27 20:34 懂事长qingzZ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 当连接真机运行,xcode出现unable to launch xxx,此时我们可以点击detail来查看详情。 Details Unable to install "XXX" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103 阅读全文
posted @ 2023-12-29 15:51 懂事长qingzZ 阅读(156) 评论(0) 推荐(0) 编辑
摘要: import UIKit ///文件下载 class VehicleDownloadFilemanager: NSObject, UIDocumentPickerDelegate { /// 创建单例对象 static let share = VehicleDownloadFilemanager() 阅读全文
posted @ 2023-12-29 13:48 懂事长qingzZ 阅读(20) 评论(0) 推荐(0) 编辑
摘要: pod install --verbose --no-repo-update pod update --verbose --no-repo-update 阅读全文
posted @ 2023-12-19 16:27 懂事长qingzZ 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 第一个免费的 https://chat18.aichatos.xyz/#/chat/1698208065505 第二个付费的 需要vpn,谷歌浏览器安装 搜索并添加 wetab.link 阅读全文
posted @ 2023-11-06 11:27 懂事长qingzZ 阅读(1361) 评论(0) 推荐(0) 编辑
摘要: 计算行数: x = 总个数 y = 一行的个数 行数 = ((x - 1) / y) + 1 计算指定元素的列数: 用上面的公式计算出指定元素所在的行数 y = 一行的个数 列数 = 元素序号 - (行数 * y) 作者:卓敦 链接:https://www.jianshu.com/p/a896016 阅读全文
posted @ 2023-10-21 17:27 懂事长qingzZ 阅读(60) 评论(0) 推荐(0) 编辑
摘要: self.bgScrollView.bounces = NO; ///和后边bottomCellOffset 正好相反 CGFloat maxH = (Screen_Height - self.bgScrollView.tableViewBottomFloat - Screen_NAV_Height 阅读全文
posted @ 2023-10-18 15:38 懂事长qingzZ 阅读(222) 评论(0) 推荐(0) 编辑