profile
viewpoint
微博@iOS程序犭袁 ChenYilong Alibaba Beijing China. http://weibo.com/luohanchenyilong/ I work at Alibaba and focus on iOS and hybrid APP dev. You can call me Elon Chan. Welcome to click the Follow button blow. ⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️

ChenYilong/iOSInterviewQuestions 8182

iOS interview questions;iOS面试题集锦(附答案)--学习qq群或 Telegram 群交流 https://github.com/ChenYilong/iOSBlog/issues/21

ChenYilong/CYLTabBarController 6014

[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】

ChenYilong/iOS9AdaptationTips 4561

iOS9适配系列教程(iOS开发学习交流群: https://github.com/ChenYilong/iOSBlog/issues/21)

ChenYilong/CollectionViewClassifyMenu 1487

CollectionView做的两级菜单,可以折叠第二级菜单

ChenYilong/iOSBlog 974

微博@iOS程序犭袁 的blog

ChenYilong/CYLTableViewPlaceHolder 912

一行代码完成“空TableView占位视图”管理

ChenYilong/iOS10AdaptationTips 661

for iOS10 in [ObjC, Swift, English, 中文] {...}

ChenYilong/iOS11AdaptationTips 482

for iOS11 in [ObjC, Swift, English, 中文] {...} -- iOS11适配系列教程

aliyun/alicloud-ios-demo 359

Demos for AMS iOS SDKs

ChenYilong/CYLDeallocBlockExecutor 212

Hello block,byebye dealloc!一行代码代替dealloc完成“self-manager”

startedACL4SSR/ACL4SSR

started time in 16 days

issue commentChenYilong/CYLTabBarController

楼主!请教下当tabbar的item超过五个的时候怎么隐藏more按钮呢

超过五个,没有more按钮,无法过审核.这个也是系统tabbar逻辑.

Yangshaoyi

comment created time in a month

issue commentChenYilong/CYLTabBarController

[bug]:真机下运行demo代码,点击tabbar图标会越来越大,模拟器正常

其他issue讨论过, inset 参数设置有问题.

coooliang

comment created time in a month

issue commentChenYilong/CYLTabBarController

[bug]:demo在模拟器ios 11黑屏,什么都不显示

https://github.com/airbnb/lottie-ios/issues/150

denglei022

comment created time in 2 months

created tagChenYilong/CYLTabBarController

tag1.28.5

[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】

created time in 2 months

push eventChenYilong/CYLTabBarController

Elon Chan

commit sha 4c185790d0f2268995f583b1ac9dc86ba51e0162

fix(xcode11): available to Xcode below version11 优化:引入该三方库的项目可以在xcode11以下的xcode上编译运行 fix #470

view details

Elon Chan

commit sha 4e379f8fec8597062dac4d210a7087c97ecac022

fix: remove useless breakpoint lottie文件引入的程序启动异常,之前项目开启了全局异常捕获,已去掉。 fix #460 fix #460

view details

push time in 2 months

issue closedChenYilong/CYLTabBarController

[bug]:demo在模拟器ios 11黑屏,什么都不显示

<p align="center"><a href="https://github.com/ChenYilong/CYLTabBarController"></a></p>


<p align="center"> <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController.podspec"></a> <a href=""></a> <a href=""></a> <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/LICENSE"></a>

</p>

<p align="center"> <a href="https://github.com/ChenYilong/iOSBlog/issues/21"></a> </p>

<p align="center"> <a href="https://github.com/ChenYilong/CYLTabBarController/releases.atom"></a> </p>

<p align="center"> <a href="https://github.com/ChenYilong/iOSBlog/releases.atom"></a> </p>

<p align="center"><a href="https://mp.weixin.qq.com/s/A4e5h3xgIEh6PInf1Rjqsw"></a></p>

<p align="center"> <a href="http://ww2.sinaimg.cn/large/006tNc79ly1g5et6q6sm5j30go0goaar.jpg"></a> <a href="http://weibo.com/luohanchenyilong"></a> <a href="https://twitter.com/iOSChenYilong"></a> <a href="https://github.com/ChenYilong"></a> <a href="https://qm.qq.com/cgi-bin/qm/qr?k=SEdIYBh52YzquCEo8cmPwgkko1VgSAlw&authKey=sGcG%2BGB81DW%2Ba8v3dCufFSNoxhykAU61Uz%2B%2BqDiKQN2BGHP2xHYVI2tc0Cah2lpu"></a> <a href="https://t.me/iosobjc"></a> <a href="http://s.zhihu.com/BU5Mp"></a> </p>


Base Info for this issue

<!--- 基本信息 -->

<!--- 每个类的第五行都标记有版本号,请贴出。 -->

  1. Version:Latest Version as here
  2. Language of App :Objective-C/Swift
  3. iOS System Version:iOS12
  4. Prototype(是否是真机):YES
  5. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A

1. How to reproduce the problem.

<!--- 请详细描述下复现步骤。 -->

2. Please help me in this way.

<!--- 请详细描述下我需要怎么做才能符合你的需求。 -->

3. Here is a Demo.

<!--- 尽量提供一个可以复现的Demo,我的邮箱:luohanchenyilong@163.com。或者前往 Telegram 群交流:https://t.me/iosobjc -->

4. Here is my Debug log

<!--- 请尽量提供详细的日志打印信息,控制台默认会有网络请求的打印信息,请将相关的日志贴出-->

CYLTabBarController[16115:283516] +[LOTShapeGroup shapeItemWithJSON:]: Warning: merge shape is not supported. name: 合并路径 1 这个是xcode打印提示,使用的xcode 11.2


<p align="center"><a href="http://weibo.com/u/1692391497?s=6uyXnP" target="_blank"><img border="0" src="http://service.t.sina.com.cn/widget/qmd/1692391497/b46c844b/1.png"/></a></a>

closed time in 2 months

denglei022

push eventChenYilong/CYLTabBarController

xindong dou

commit sha b70622f474f50e90f143496a30c899c83c82a446

优化:引入该三方库的项目可以在xcode11以下的xcode上编译运行

view details

微博@iOS程序犭袁

commit sha 63e81cc9274f3ea3d7cac7dcc7d6f9454e327992

Merge pull request #470 from douxindong/master 优化:引入该三方库的项目可以在xcode11以下的xcode上编译运行

view details

push time in 2 months

PR merged ChenYilong/CYLTabBarController

优化:引入该三方库的项目可以在xcode11以下的xcode上编译运行

<p align="center"><a href="https://github.com/ChenYilong/CYLTabBarController"></a></p>


<p align="center"> <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController.podspec"></a> <a href=""></a> <a href=""></a> <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/LICENSE"></a>

</p>

<p align="center"> <a href="https://github.com/ChenYilong/iOSBlog/issues/21"></a> </p>

<p align="center"> <a href="https://github.com/ChenYilong/CYLTabBarController/releases.atom"></a> </p>

<p align="center"> <a href="https://github.com/ChenYilong/iOSBlog/releases.atom"></a> </p>

<p align="center"><a href="https://mp.weixin.qq.com/s/A4e5h3xgIEh6PInf1Rjqsw"></a></p>

<p align="center"> <a href="http://ww2.sinaimg.cn/large/006tNc79ly1g5et6q6sm5j30go0goaar.jpg"></a> <a href="http://weibo.com/luohanchenyilong"></a> <a href="https://twitter.com/iOSChenYilong"></a> <a href="https://github.com/ChenYilong"></a> <a href="https://qm.qq.com/cgi-bin/qm/qr?k=SEdIYBh52YzquCEo8cmPwgkko1VgSAlw&authKey=sGcG%2BGB81DW%2Ba8v3dCufFSNoxhykAU61Uz%2B%2BqDiKQN2BGHP2xHYVI2tc0Cah2lpu"></a> <a href="https://t.me/iosobjc"></a> <a href="http://s.zhihu.com/BU5Mp"></a> </p>


My issue:

pod安装了1.28.3、1.28.4的CYLTabBarController之后,在Xcode10上报错

Undefine symbols for architecture i386:
    "__isPlatformVersionAtLeast", referenced from:
        ...
ld: symbol(s) not found for architecture i386

<!--- Please describe which issue do you want to fix. -->

What I have done:

于是我参考了MJRefresh、IQKeyboardManager、SDWebImage等三方库 只做以下改变:

#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000
    if (@available(iOS 13.0, *)) {
       //... code ....
    }
#endif

<!--- Please mention me to merge with wechat:chenyilong1010, 或者前往 Telegram 群交流:https://t.me/iosobjc -->

+83 -4

0 comment

4 changed files

douxindong

pr closed time in 2 months

issue commentChenYilong/CYLTabBarController

App启动之初的我设置默认选中加号控制器了,怎么设置CYLPlusButtonSubclass变成选中状态

本issue最上面第一张图片红色箭头对应的方法建议加一个延时,参照demo里的做法。

xhzth7091

comment created time in 3 months

IssuesEvent

push eventChenYilong/CYLTabBarController

Elon Chan

commit sha 7d9423e2b6f2b344291b398d90ceb01a3b34781b

update README

view details

push time in 3 months

issue commentChenYilong/CYLTabBarController

使用 CYLTabBarController 做的 APP,来这里报道下吧!

谢谢填写信息的朋友。

@zhangfurun @tukzi @wyk111wyk @simon527

ChenYilong

comment created time in 3 months

issue commentChenYilong/CYLTabBarController

iOS12.1 popViewControllerAnimated,UINavigationController返回时,item出现错位,文字消失,图标及小圆点出现位置偏移。过1-2秒才恢复到正常位置

系统尽在少数的系统版本中出现该bug,后续更新iOS已经修复,并且该bug可以在初始化时绕过,初始化时绕过的方案成本较低,于是本库已将内置修复系统bug的代码删除.请使用初始化方案绕过.

xhzth7091

comment created time in 3 months

issue commentChenYilong/CYLTabBarController

[bug]:tabbar消失和动画显示问题

参考这里的讨论, https://github.com/ChenYilong/CYLTabBarController/issues/312 系统尽在少数的系统版本中出现该bug,后续更新iOS已经修复,并且该bug可以在初始化时绕过,初始化时绕过的方案成本较低,于是本库已将内置修复系统bug的代码删除.请使用初始化方案绕过.

LoneyLi

comment created time in 3 months

issue commentChenYilong/CYLTabBarController

IOS13 如何设置tabbar的标题往上移动

贴一下怎么设置的 titlePositionAdjustment,看下是不是设置的有问题.

lilinxuan

comment created time in 3 months

issue commentChenYilong/CYLTabBarController

[bug]:一个PlusButton和四个TabbarItem位置分布不均

等分的话,只调整 plusButton的frame 即可,文档中已经给出调整的公式.

lztbwlkj

comment created time in 3 months

pull request commentChenYilong/CYLTabBarController

CYLTabBarController may crash when deallocating

1.28.4已经发布,包含该修改,感谢 @Frozen-Tofu 给出解决方案.

Frozen-Tofu

comment created time in 3 months

issue closedChenYilong/CYLTabBarController

[Q-A]使用方法询问:正常点击最后一个tabbarItem并push一个新页面后再返回,切换成旁边的tab时,图标未切换

具体流程是这样: 下面的四个tabbar的item使用的是lottie的json文件,正常情况下是这样: 屏幕快照 2019-08-28 下午3 54 12

当在“我的”页面随便push一个子页面并返回,这时候切换成旁边的tab时,出现了文字切换了图标并没有切换过来的情况,页面也切换过来了,如图: 屏幕快照 2019-08-28 下午4 05 56

多次测试之后发现: 1、如果不注册中加的plusbutton,只有四个常规tab时,不会出现这种问题 2、只有在点击最后一个tab时出现,并且pop回来时只点击它旁边的tab会出现这种情况 3、并非json文件文件的问题,换成其他的图标也有问题

您知道这可能是哪里导致的问题吗??

closed time in 3 months

theHeroisBack

issue commentChenYilong/CYLTabBarController

[Q-A]使用方法询问:正常点击最后一个tabbarItem并push一个新页面后再返回,切换成旁边的tab时,图标未切换

1.28.4版本已经发布,修复该问题.感谢 @inascf 给出的解决方案. 详情: https://github.com/ChenYilong/CYLTabBarController/commit/d4396997b749c710be38e301e388389b90b19a39

theHeroisBack

comment created time in 3 months

created tagChenYilong/CYLTabBarController

tag1.28.4

[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】

created time in 3 months

push eventChenYilong/CYLTabBarController

Elon Chan

commit sha d4d1ab3ec28767a9cce37714c4ac41121d4915fe

fix issues #423, update version to v1.28.4

view details

push time in 3 months

push eventChenYilong/CYLTabBarController

inascf

commit sha 8b11287846a4a94f7b65906f0ac7f319899a11e4

fix issues 423 排除是CYLPlusButton

view details

微博@iOS程序犭袁

commit sha d4396997b749c710be38e301e388389b90b19a39

Merge pull request #451 from inascf/master fix issues 423 排除是CYLPlusButton

view details

push time in 3 months

PR merged ChenYilong/CYLTabBarController

fix issues 423 排除是CYLPlusButton

<p align="center"><a href="https://github.com/ChenYilong/CYLTabBarController"></a></p>


修复 https://github.com/ChenYilong/CYLTabBarController/issues/423 的问题, 增加判断排除CYLPlusButton的子类

+1 -1

0 comment

1 changed file

inascf

pr closed time in 3 months

issue commentiteatimeteam/Friday-QA

iTeaTime(技术清谈)【009期】【代号:梵高星空】

@zhangfurun 答案已更新

ChenYilong

comment created time in 4 months

push eventChenYilong/CYLTabBarController

Frozen-Tofu

commit sha 8492f625afdbbfd09e340aef717fc488d46bf170

CYLTabBarController may crash when deallocating

view details

微博@iOS程序犭袁

commit sha b2f5a72f261297d2db799740bf28630ee43ec1bf

Merge pull request #450 from Frozen-Tofu/patch-1

view details

push time in 4 months

PR merged ChenYilong/CYLTabBarController

CYLTabBarController may crash when deallocating

<p align="center"><a href="https://github.com/ChenYilong/CYLTabBarController"></a></p>


<p align="center"> <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/CYLTabBarController.podspec"></a> <a href=""></a> <a href=""></a> <a href="https://github.com/ChenYilong/CYLTabBarController/blob/master/LICENSE"></a>

</p>

<p align="center"> <a href="https://github.com/ChenYilong/iOSBlog/issues/21"></a> </p>

<p align="center"> <a href="https://github.com/ChenYilong/CYLTabBarController/releases.atom"></a> </p>

<p align="center"> <a href="https://github.com/ChenYilong/iOSBlog/releases.atom"></a> </p>

<p align="center"><a href="https://mp.weixin.qq.com/s/A4e5h3xgIEh6PInf1Rjqsw"></a></p>

<p align="center"> <a href="http://ww2.sinaimg.cn/large/006tNc79ly1g5et6q6sm5j30go0goaar.jpg"></a> <a href="http://weibo.com/luohanchenyilong"></a> <a href="https://twitter.com/iOSChenYilong"></a> <a href="https://github.com/ChenYilong"></a> <a href="https://qm.qq.com/cgi-bin/qm/qr?k=SEdIYBh52YzquCEo8cmPwgkko1VgSAlw&authKey=sGcG%2BGB81DW%2Ba8v3dCufFSNoxhykAU61Uz%2B%2BqDiKQN2BGHP2xHYVI2tc0Cah2lpu"></a> <a href="https://t.me/iosobjc"></a> <a href="http://s.zhihu.com/BU5Mp"></a> </p>


My issue:

使用 iOS 13 SDK 编译后,CYLTabBarController 析构的时候可能会因为移除 tabBar 的观察者而崩溃,忽略不会产生负面效果 <!--- Please describe which issue do you want to fix. -->

What I have done:

忽略 removeObserver:forKeyPath: 抛出的异常 <!--- Please mention me to merge with wechat:chenyilong1010, 或者前往 Telegram 群交流:https://t.me/iosobjc -->

+3 -1

0 comment

1 changed file

Frozen-Tofu

pr closed time in 4 months

issue openedChenYilong/iOS13AdaptationTips

App Updates for HTML5 Apps

https://developer.apple.com/news/?id=09062019b

created time in 5 months

issue commentChenYilong/iOS13AdaptationTips

新系统 KVC crash 风险

https://github.com/Tencent/QMUI_iOS/issues/617

ChenYilong

comment created time in 5 months

issue openediteatimeteam/Friday-QA

one more thing

//one more thing

<!---

iOS13 后台下载

iOS后台下载通史【2019版】

更长时间执行后台任务,比如为了体验,“提前”下载一些数据。

由于 iPad 转 Mac 的机制,本次WWDC,重点介绍了,

BAR废弃,新推 BGAppRefreshTask

前缀 BG 顾名思义:background 之意。

Old UIApplication fetch API is deprecated, and not supported on Mac

UIApplication.setMinimumBackgroundFetchInterval(_:)
UIApplicationDelegate.application(_:performFetchWithCompletionHandler:)

BGTaskScheduler BGProcessing TaskRequest

-->

created time in 5 months

issue openedChenYilong/iOS13AdaptationTips

one more thing

//one more thing

<!---

UI crash

Private View 修改导航条两侧间距 [_UINavigationBarContentView setLayoutMargins:]

iOS13beta2上会抛异常, private view不能被修改 方案

仅在iOS11、12上修改,0OS13上不修改

自动加了蓝牙提示,不会crash

VOIP

支付宝用的VOIP实现不同金额的语音。

Push只支持语言文件,无法动态金额。

WebView

WebView contentsize错误 表现是 contentsize比实际内容小,页面不能滚动到底部 似乎 UIWebView在新系统上兼容性越来远差,建议切换 到 WKWeb View。 (UIThread Node nextResponder]方法未定义闪退 未完全定位,大部分发生在H5页面。疑似s13 UIWebView兼容问题。

tableView抖动

不能同步,否则crash

-->

created time in 5 months

issue openediteatimeteam/Friday-QA

iOS面试题

百度面试题

2、属性的实质是什么?包括哪几个部分?属性默认的关键字都有哪 1、什么是动态运行时语言 些?@ dynamic关键字和@ synthesize关键字是用来做什么的? 3、 NSString 为什么要用copy关键字,如果用 strong会有什么问题? 4、 nonatomic 和 atomic的区别? atomic是绝对的线程安全么?为什 么?如果不是,那应该如何实现? 5、简述kvo、kvc、 Delegate他们之间的区别? 6、 Objective-C与C、C++之间的联系和区别? 7、线程间如何通信? 8、如何访问并修改一个类的私有属性? 9、数据持久化的几个方案 10、obic使用什么机制管理对象内存? 11、内存泄漏可能会出现的几种原因,聊聊你的看法? 12、bck的实质是什么?一共有几种bock?都是什么情况下生成 13、介绍一下分类,能用分类做什么?内部是如何实现的?它为什么 的? 会覆盖掉原来的方法? 14、obc中向一个ni对象发送消息将会发生什么? 15、 untime如何通过 selector 找到对应的MP地址? 16、有没有用过运行时,用它都能做什么?

created time in 5 months

push eventChenYilong/ParseSourceCodeStudy

ChenYilong

commit sha 2aebf7bc339709f2594ea9b364eb2a258a19cd1f

update image resouces

view details

push time in 5 months

push eventChenYilong/iOS9AdaptationTips

ChenYilong

commit sha 33a878221d0a52f12b9051d0b40c85c02bb7dfa2

update image resources

view details

push time in 5 months

push eventChenYilong/iOSInterviewQuestions

Elon Chan

commit sha ec01e6b6368fa0b9bdbd70fc7936442dd93aaea6

update image resource

view details

push time in 5 months

issue commentChenYilong/CYLTabBarController

[Feature request]希望添加新功能:

文档已经给出使用方法

mazhao1609

comment created time in 5 months

issue commentChenYilong/CYLTabBarController

[Feature request]希望添加新功能:

参考Lottie动画部分,借助ued提供的Lottie文件,可以实现你说的京东效果。

mazhao1609

comment created time in 5 months

issue commentChenYilong/CYLTabBarController

[Q-A]使用方法询问:cyl_clearBadge 无效

cyl开头的红点分类方法,搭配的是自定义红点,对系统红点无效。

tzwgod

comment created time in 5 months

push eventChenYilong/iOSBlog

微博@iOS程序犭袁

commit sha 70077d584c927a3c3537fc115284d54c82bf04ad

Update README.md

view details

push time in 5 months

push eventChenYilong/iOSInterviewQuestions

微博@iOS程序犭袁

commit sha 68871cbe5d2b0c1ca18a5298e3a8a3d5cdd85642

Update README.md

view details

push time in 5 months

push eventChenYilong/CYLTabBarController

微博@iOS程序犭袁

commit sha debf8bd7cc023c2192eee0b09385545f1c837ddb

Update README.md

view details

push time in 5 months

push eventChenYilong/CYLTabBarController

微博@iOS程序犭袁

commit sha 8f18013ab3f3230402bc3953c969c4b92e1a1a17

Update README.md

view details

push time in 5 months

push eventChenYilong/CYLTabBarController

微博@iOS程序犭袁

commit sha a35c1904d87b747ade74b686a370f89fe65c13d9

Update pull_request_template.md

view details

push time in 5 months

push eventChenYilong/CYLTabBarController

微博@iOS程序犭袁

commit sha 9fcd4b3ba1226bf89307e1c163517ba5220091f2

Update issue templates

view details

push time in 5 months

push eventChenYilong/CYLTabBarController

微博@iOS程序犭袁

commit sha daa79477b8490fe7429999edd4a1add82809f5ce

Update issue templates

view details

push time in 5 months

push eventChenYilong/CYLTabBarController

微博@iOS程序犭袁

commit sha 7481f365899ec39e207d838eb35c39f9f8a287bb

Update README.md

view details

push time in 5 months

more