摘要: 图表绘制的过程实际上是坐标位置的计算过程,至于画线只要有了position,通过CAShapeLayer+BezierPath很快就可以画出来,这里提供一个绘制折线的demo,贵在思路,有需要的可以参考 demo下载地址:https://github.com/qqcc1388/TYLineViewD 阅读全文
posted @ 2017-08-14 18:32 qqcc1388 阅读(547) 评论(0) 推荐(0)
摘要: iOS要实现横竖屏切换很简单,不需要使用任何第三方,只需要实现几个方法就可以了。demo下载地址: https://github.com/qqcc1388/TYOrientationDemo https://github.com/qqcc1388/iosLandscapeDemo 1.设置系统支持横 阅读全文
posted @ 2017-08-14 16:31 qqcc1388 阅读(1655) 评论(0) 推荐(0)