移动开发 iOS处理含中文的请求链接
NSString *urlStr = @"";// 将中文URL进行转码urlStr = [urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];NSURL *url = [NSURL URLWithString:urlStr];……
移动开发 Android 还可以走多久?
最近,有位知识星球的球友问我这么一个问题: 我做 Android 开发五年多时间了,但是最近总是很焦虑,看着人工智能越来越火,很担心 Android 要不行了,想问下,我现在要转行么?An……
移动开发 iOS 关键词assign、strong、copy、weak、unsafe_unretained
关键词 assign、strong、copy、weak、unsafe_unretained 影响: 是否开辟新的内存 是否有引用计数增加 strong 指向并拥有该对象。其修饰的对象引用计数会 1,该对象只要引用计数不为 0 就不会销……
移动开发 iOS数组遍历
对于一个数组 NSArray *array = @[@"111",@"222",@"333",@"444",@"555",@"666",@"777",@"888",@"999",]; NSInteger count =array.count; 1.for循环 for (NSInteger i = 0 ; i count ; i ) { NSLog ( @"%@----%@" ,array [i ] , [NSThread currentThre……
移动开发 pandas 学习 第4篇:序列的处理(应用、聚合、转换、映射、分组、滚动、扩展、
序列内置一些函数,用于循环对序列的元素执行操作。 一,应用函数 对序列的各个原始应用函数: Series.apply(self, func, convert_dtype=True, args=(), **kwds) 参数注释: func:应用的函数,可以是……
移动开发 iOS - (instancetype)initWithCoder:(NSCoder *)aDecoder采坑小记
一般我们封装控件时 既要支持xib 又要支持手码 一般我们会在以下两个方法里执行我们的自定义操作。然后关于initWithCoder的小坑来了。 /// 手码 - (instancetype)initWithFrame:(CGRect)frame { self……
移动开发 iOS上架Guideline 5.1.1 - Legal - Privacy问题解答
iOS上架被拒Guideline 5.1.1条款问题解决步骤! Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage We noticed that your app requests the user’s consent to access their camera/microphone but does not clarify the use……
移动开发 错误】org.apache.ibatis.binding.BindingException: Invalid bound
maven依赖配置错误 dependency groupIdcom.baomidou/groupId artifactId mybatis-plus-boot-starter /artifactId version3.2.0/version /dependency dependency groupIdcom.baomidou/groupId artifactId mybatis-plus /artifactId version3.1.2/version……
移动开发 Android快捷键大全
参考来源: https://mp.weixin.qq.com/s/T809p17Wt8XHkbLwcQf9ow 1,Ctrl J 快捷代码列表 2,Ctrl Alt O 这个快捷键可以自动导包或删除无用的包,代码中有一些不用的包。……
移动开发 chrome 手机端滑动列表的时候控制台会出现很多提示的解决办法
问题: Unable to preventDefault inside passive event listener 可以加入 touch-action 属性,具体参照MDN, https://developer.mozilla.org/zh-CN/docs/Web/CSS/touch-action 比如横向滚动标题tab就可以加入 touch-action: pa……