03 2024 档案

iOS macOS 处理 UITableViewCell 第一行和最后一行圆角设置圆角,包括一个Cell也可以
摘要:先说我自己的处理 先看效果: 上代码这里只列出关键部分 cellForRowAtIndexPath方法下 // 判断是否为第一行或最后一行 NSInteger firstRow = 0; NSInteger lastRow = [tableView numberOfRowsInSection:ind 阅读全文

posted @ 2024-03-28 19:31 高彰 阅读(133) 评论(0) 推荐(0) 编辑

iOS macOS tableViewcell判断是否为第一行或最后一行
摘要:// 判断是否为第一行或最后一行 NSInteger firstRow = 0; NSInteger lastRow = [tableView numberOfRowsInSection:indexPath.section] - 1; 阅读全文

posted @ 2024-03-28 19:23 高彰 阅读(13) 评论(0) 推荐(0) 编辑

iOS macOS更新Xcode15后适配UI界面处理界面越界显示问题
摘要:直接上解决方案,亲测有效哦 iOS端 my..clipsToBounds = YES; macOS端 drawRect [self setClipsToBounds:true]; addSubview后面 [self.chartViewControll.view setClipsToBounds:t 阅读全文

posted @ 2024-03-13 17:26 高彰 阅读(109) 评论(0) 推荐(0) 编辑

一句话讲清楚Runtime和Runloop
摘要:Runtime是底层C语言API库,支持动态创建类和对象、消息发送和转发,特点是数据类型的确定由编译时推迟到运行时而且以消息方式调用方法,如通知和中央管理。 Runloop是iOS中的事件处理机制,用于接收并处理系统或应用产生的事件(如触摸事件、定时器事件、网络请求、管理自动释放缓存池等),保持应用 阅读全文

posted @ 2024-03-07 13:50 高彰 阅读(84) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

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