上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
  2021年10月9日
摘要: Mac连接设备USB断断续续 老款Mac连接设备老是断断续续,其实是usbd进程搞的鬼。把usbd进程杀掉就好了。代码sudo killall -STOP -c usbd 阅读全文
posted @ 2021-10-09 12:21 wp7ers 阅读(114) 评论(0) 推荐(0) 编辑
  2021年9月30日
摘要: section 能画几列 通过layout 和 collectionview 的宽高以及 item size 来算的。 UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init]; layout.min 阅读全文
posted @ 2021-09-30 11:36 wp7ers 阅读(265) 评论(0) 推荐(0) 编辑
  2021年9月13日
摘要: Flutter 官网 : https://flutter.dev/Flutter 插件下载地址 : https://pub.dev/packagesFlutter 开发文档 : https://flutter.cn/docs ( 强烈推荐 )官方 GitHub 地址 : https://github 阅读全文
posted @ 2021-09-13 18:28 wp7ers 阅读(48) 评论(0) 推荐(0) 编辑
  2021年7月17日
摘要: 1.UITextFeild是不支持多行的。 2.动态改变高度的方法。最简单方法如下。 -(void)textViewDidChange:(UITextView *)textView { //获得textView的初始尺寸 将scrollEnable设置为NO。 CGFloat width = CGR 阅读全文
posted @ 2021-07-17 13:13 wp7ers 阅读(321) 评论(0) 推荐(0) 编辑
  2021年6月16日
摘要: 1.重写 - (instancetype)initWithFrame方法,在此方法中创建并添加子控件。 2.提供一个便利的构造方法,通常为 类方法,快速创建一个实例对象 3.重写 - (void)layoutSubviews方法,在此方法中设置子控件的frame, 一定要调用[super layou 阅读全文
posted @ 2021-06-16 11:09 wp7ers 阅读(31) 评论(0) 推荐(0) 编辑
  2021年5月15日
摘要: - (CGPoint)locationInView:(UIView *)view: 点到了view 的哪个坐标。 不传view参数表示 相对全屏的坐标。 - (CGPoint)previousLocationInView:(UIView *)view: 记录前一次的坐标。 hitTest和point 阅读全文
posted @ 2021-05-15 12:36 wp7ers 阅读(486) 评论(0) 推荐(0) 编辑
  2021年5月10日
摘要: 利用UIBezierPath: CAShapeLayer *shapeLayer = [CAShapeLayer layer]; shapeLayer.path = [UIBezierPath bezierPathWithRoundedRect:CGRectMake(0, 0, 100, 100) 阅读全文
posted @ 2021-05-10 17:18 wp7ers 阅读(56) 评论(0) 推荐(0) 编辑
  2021年5月8日
摘要: UITableView自定义cell时 若使用nib,使用 registerNib: 注册,dequeue时会调用 cell 的 -(void)awakeFromNib 不使用nib,使用 registerClass: 注册, dequeue时会调用 cell 的 - (id)initWithSty 阅读全文
posted @ 2021-05-08 11:03 wp7ers 阅读(148) 评论(0) 推荐(0) 编辑
  2021年4月21日
摘要: https://flutter.cn/docs/get-started/install/macos 直接下载2.0解压到原安装目录。比较快。github肯定不行。太慢。 阅读全文
posted @ 2021-04-21 18:45 wp7ers 阅读(31) 评论(0) 推荐(0) 编辑
  2021年3月2日
摘要: 横向 // 展示ListViewclass horizontalList extends StatelessWidget { @override Widget build(BuildContext context) { return ListView( scrollDirection: Axis.h 阅读全文
posted @ 2021-03-02 09:46 wp7ers 阅读(109) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
< 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

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