会员
商店
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qingzZ
博客园
首页
博问
闪存
新随笔
订阅
管理
2025年3月21日
iOS 运算符 ~=
摘要: if 左边 ~= 右边逻辑 { } 表示右边逻辑在左边的逻辑范围内 let task = URLSession.shared.dataTask(with: URL(string: "https://google.com")!) { (data,response, error) in guardlet
阅读全文
posted @ 2025-03-21 16:12 懂事长qingzZ
阅读(3)
评论(0)
推荐(0)
编辑
2025年3月18日
OC使用swift和swift使用OC
摘要: OC 使用swift 1.swift方法需要关键字 @objcMembers swift @objcMembers class MyClass: NSObject { public var myProperty: String = "Hello" public func myMethod() { p
阅读全文
posted @ 2025-03-18 17:23 懂事长qingzZ
阅读(1)
评论(0)
推荐(0)
编辑
2025年3月13日
iOS 获取设备旋转角度
摘要: import CoreMotion ///获取设备旋转角度 class YDMotionManager { private let motionManager = CMMotionManager() // 添加一个回调来传递计算出的角度 func getAngle(completion: ((_ a
阅读全文
posted @ 2025-03-13 13:57 懂事长qingzZ
阅读(2)
评论(0)
推荐(0)
编辑
2025年2月20日
swift 枚举
摘要: CustomStringConvertible Equatable
阅读全文
posted @ 2025-02-20 11:03 懂事长qingzZ
阅读(2)
评论(0)
推荐(0)
编辑
2025年2月5日
iOS 高德SDK——swift自定义地图点标记样式MAAnnotationView和 点击无反应
摘要: 自定义MAAnnotationView iOS 高德SDK Swift自定义地图点标记样式 https://izumi.pub/iOS/iOS-amap-sdk/ 2.点击无反应 override init?(annotation: MAAnnotation?, reuseIdentifier: S
阅读全文
posted @ 2025-02-05 16:34 懂事长qingzZ
阅读(17)
评论(0)
推荐(0)
编辑
2025年2月4日
iOS 高德地图获取左上角右下角的经纬度
摘要: // 左上角坐标 let topLeftCoord = mapView.convert(.zero, toCoordinateFrom: mapView) // 右下角坐标 let bottomRightCoord = mapView.convert(CGPoint(x: mapView.width
阅读全文
posted @ 2025-02-04 08:55 懂事长qingzZ
阅读(30)
评论(0)
推荐(0)
编辑
2025年1月18日
Jenkins自动化打包iOS 参考
摘要: Jenkins自动化打包iOS https://www.jianshu.com/p/e2e44f84c721 iOS使用jenkins自动构建、部署 https://www.cnblogs.com/liuluoxing/p/12096501.html
阅读全文
posted @ 2025-01-18 18:42 懂事长qingzZ
阅读(4)
评论(0)
推荐(0)
编辑
前后端传递数据probuffer java解析库
摘要: probuffer java解析库 protobuf 解析 https://blog.51cto.com/u_16213652/9241312
阅读全文
posted @ 2025-01-18 18:34 懂事长qingzZ
阅读(6)
评论(0)
推荐(0)
编辑
iOS 类似搜索的历史记录字体排版RecordLayoutDemo
摘要: 循环创建btn,如果btn设置特别场的标题,会造成左右编剧不生效,这时候加个判断判断 if value.count >= 15 { ///字太多左右边距会没了,修复字太多左右贴边显示 value = " \(value) " } https://github.com/bolagong/RecordL
阅读全文
posted @ 2025-01-18 18:24 懂事长qingzZ
阅读(5)
评论(0)
推荐(0)
编辑
iOS 五星好评
摘要: 评价星星StarRate https://github.com/chenjie1219/StarRate
阅读全文
posted @ 2025-01-18 18:13 懂事长qingzZ
阅读(4)
评论(0)
推荐(0)
编辑
下一页