美文网首页
开发问题笔记(十六)

开发问题笔记(十六)

作者: Kevin_wzx | 来源:发表于2022-01-06 16:08 被阅读0次

目录

1.iOS开发的一些奇巧淫技
2.视频开发
3.Flutter实战·第二版
4.JSPatch 平台介绍
5.知本家SaaS
6.instrument
7.RAC简单使用
8.OC与JS交互demo
9.UTo分销系统
10.UTo顺风车系统
11.UTo汽车票系统
12.iOS 底层原理:界面优化
13.有赞移动 iOS 组件化(模块化)架构设计实践
14.李库管后台接口
15.点金树商城后台
16.po [XXDMTouchPlayManager _shortMethodDescription]
17.互联网
18.iOS个人开发总结
19.iOS知识体系
20.iOS开发流程
21.Git常用
22.随机颜色
23.HooK技术
24.自定义的view里面有刷新布局
25.出现如下弹框
26.数据
27.避免多个按钮按下同时响应
28.表格最后一个cell底部左右两边进行圆角处理
29.BBX个人中心数组初始化添加方式
30.Xcode报如下错误 “Executable Not Found ”

1.iOS开发的一些奇巧淫技

http://www.cocoachina.com/articles/10783

2.视频开发

相关链接:https://pan.baidu.com/s/16Hn_8ryr6F9AquCHD7hKhg 提取码: fjni
ZSPlayerDemo:https://github.com/wuyubeichen/ZSPlayerDemo

3.Flutter实战·第二版

相关链接:https://book.flutterchina.club/chapter2/flutter_widget_intro.html#_2-2-2-widget-

4.JSPatch 平台介绍

相关链接:http://www.jspatch.com/Docs/intro

5.知本家SaaS(测试环境):https://yjqadl.zbjsaas.com/auth/login.html

6.instrument

instrument

7.RAC简单使用

https://www.jianshu.com/p/bfb8f1e2766e

8.OC与JS交互demo

链接: https://pan.baidu.com/s/16AFw-NvFBjNwCUb44P1Cvw 密码: 7jk3

9.UTo分销系统

链接: https://pan.baidu.com/s/1nmzZWbWYVCe9dYXYCbCYwQ 提取码: ukgt

10.UTo顺风车系统

原型链接: https://pan.baidu.com/s/1IAxHAXJWdFkLxo5gMNn6IA 提取码: pan3

个人中心流程.png 乘客流程.png 司机流程.png

11.UTo汽车票系统

汽车票流程改版.png

12.iOS 底层原理:界面优化

https://mp.weixin.qq.com/s/Zvk5LI2Qoag0hg10KwoMSQ

13.有赞移动 iOS 组件化(模块化)架构设计实践

https://tech.youzan.com/you-zan-ioszu-jian-hua-jia-gou-she-ji-shi-jian/

14.李库管后台接口

http://showdoc.g-goldtree.com/index.php?s=/3&page_id=215

15.点金树商城后台

https://shop.g-goldtree.com/core/web/index.php?r=admin%2Fpassport%2Flogin

16.po [XXDMTouchPlayManager _shortMethodDescription]

po [XXDMTouchPlayManager _shortMethodDescription],这个方法可以打印一些第三库的具体没有暴露的实现方法,比如打印高德地图某个类里面的具体m文件的所有方法,可以找到获取实时当前位置距离终点的剩余距离和时间的信息。这个po方法是属于runtime方法。XXDMTouchPlayManager这个替换成自己想要看的那个类。

17.互联网

互联网

18.iOS个人开发总结

iOS个人开发总结

19.iOS知识体系

https://www.jianshu.com/p/93963a7b57cc
https://www.jianshu.com/p/13fa51b62751

iOS知识体系 iOS学习

20.iOS开发流程

梳理开发流程

21.Git常用

Git

22.随机颜色

+ (UIColor *)randomColor {
    CGFloat red = arc4random() % 256 / 255.0;
    CGFloat green = arc4random() % 256 / 255.0;
    CGFloat blue = arc4random() % 256 / 255.0;
    return [UIColor colorWithRed:red green:green blue:blue alpha:1];
}

23.HooK技术

https://www.jianshu.com/p/3382cc765b39
https://www.jianshu.com/p/2d6ccb7a1864

24.自定义的view里面有刷新布局

25.出现如下弹框

出现如下弹框,选择第一个。意思是移动了你的项目,问你要运行哪一个版本?选择第一个就是保持之前的,选择第二个就是移动之后的,会重新打开,跟选第一个也没有啥区别,但第一个比较方便。

26.数据

27.避免多个按钮按下同时响应

ExclusiveTouch的作用是:可以达到同一界面上多个控件接受事件时的排他性,从而避免bug。也就是说避免在一个界面上同时点击多个UIButton导致同时响应多个方法。看见有人用这个来控制UIButton 的ExclusiveTouch属性,这样需要在每个控制器都要设置。可用一句话来代替这样的设置,在AppDelegate启动应用时添加[[UIButton appearance] setExclusiveTouch:YES];

按钮避免多个事件同时响应 设置事件排他性,也就是同一时间只会相应一个事件,这是UIView封装的方法

28.表格最后一个cell底部左右两边进行圆角处理

29.BBX个人中心数组初始化添加方式

多个分组的数组数据可以以下方式进行本地构建

- (NSMutableArray *)dataArray {
    if (!_dataArray) {
        _dataArray = [[NSMutableArray alloc]init];
        [_dataArray addObject:@[ ]];
        
        [_dataArray addObject:@[@{@"title":@"消息中心",@"info":@"",@"ctrl":@"MessageVC"}]];
        
        if ([BBXDriverInfo shareManager].show_payment) {//显示我的缴费入口
            if (([BBXDriverInfo shareManager].is_citic == 1 && [BBXDriverInfo shareManager].payment_account_type == 3) || [BBXDriverInfo shareManager].citic_charge == YES) {//中信缴费入口
                
                if ([BBXDriverInfo shareManager].fee_splitting_config == 1) {//中信我的分润入口
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"我的缴费(中信)",@"info":@"",@"ctrl":@"BBXZhongxinPayRecordViewController"},
                      @{@"title":@"我的分润(中信)",@"info":@"",@"ctrl":@"BBXShareProfitRecordViewController"},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                      @{@"title":@"我的缴费",@"info":@"",@"ctrl":@"BBXPaymentRecordViewController"},
                    ]];
                } else {
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"我的缴费(中信)",@"info":@"",@"ctrl":@"BBXZhongxinPayRecordViewController"},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                      @{@"title":@"我的缴费",@"info":@"",@"ctrl":@"BBXPaymentRecordViewController"},
                    ]];
                }
            } else {
                if ([BBXDriverInfo shareManager].fee_splitting_config == 1) {//中信我的分润入口
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"我的分润(中信)",@"info":@"",@"ctrl":@"BBXShareProfitRecordViewController"},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                      @{@"title":@"我的缴费",@"info":@"",@"ctrl":@"BBXPaymentRecordViewController"},
                    ]];
                } else {
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                      @{@"title":@"我的缴费",@"info":@"",@"ctrl":@"BBXPaymentRecordViewController"},
                    ]];
                }
            }
        } else {//不显示我的缴费入口
            
            if (([BBXDriverInfo shareManager].is_citic == 1 && [BBXDriverInfo shareManager].payment_account_type == 3) || [BBXDriverInfo shareManager].citic_charge == YES) {//中信缴费入口
                
                if ([BBXDriverInfo shareManager].fee_splitting_config == 1) {//中信我的分润入口
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"我的缴费(中信)",@"info":@"",@"ctrl":@"BBXZhongxinPayRecordViewController"},
                      @{@"title":@"我的分润(中信)",@"info":@"",@"ctrl":@"BBXShareProfitRecordViewController"},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                    ]];
                } else {
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"我的缴费(中信)",@"info":@"",@"ctrl":@"BBXZhongxinPayRecordViewController"},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                    ]];
                }
            } else {
                if ([BBXDriverInfo shareManager].fee_splitting_config == 1) {//中信我的分润入口
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"我的分润(中信)",@"info":@"",@"ctrl":@"BBXShareProfitRecordViewController"},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                    ]];
                } else {
                    [_dataArray addObject:@[
                      @{@"title":@"可提现账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeWithdraw)},
                      @{@"title":@"欠费账户",@"info":@"",@"ctrl":@"BBXAccountViewController",@"type":@(AccountTypeOwe)},
                      @{@"title":@"历史订单",@"info":@"",@"ctrl":@"BBXHistoryOrderViewController"},
                    ]];
                }
            }
        }
        
        [_dataArray addObject:@[
          @{@"title":@"我的购票码",@"info":@"",@"ctrl":@"BBXBusTicketPurchaseCodeViewController"},
          @{@"title":@"我的设置",@"info":@"",@"ctrl":@"SettingVC"},
          @{@"title":@"联系客服",@"info":@"95170",@"ctrl":@"PhoneCall"},
          @{@"title":@"邀请有礼",@"info":@"",@"ctrl":@"BBXInviteDriverViewController"},
        ]];
    }
    return _dataArray;
}

30.Xcode报如下错误 “Executable Not Found ”

如果Xcode报如下错误,可以将Xcode退出重启一下就可以

Xcode报错

相关文章

网友评论

      本文标题:开发问题笔记(十六)

      本文链接:https://www.haomeiwen.com/subject/vyqrcrtx.html