上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 29 下一页
摘要: // ViewController.m // 形变属性transform // // Created by LiuWei on 2018/4/23. // Copyright © 2018年 xxx. All rights reserved. // #import "ViewController.h" @interface ViewController () @property ... 阅读全文
posted @ 2018-04-23 11:36 liuw_flexi 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 看到#ff ff ff 00 00这种 就是啦 。开头两位表示透明度。 阅读全文
posted @ 2018-04-22 15:44 liuw_flexi 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 希望实现这个效果,于是在简书上问了一个作者,让我 :先用正常的CAGradientLayer做出渐变色,然后利用CAlayer的mask属性进行裁切 https://www.jianshu.com/p/8c45d8a1645d#comment-23013690 嗯嗯 确实可以 但是还有一个问题就是那 阅读全文
posted @ 2018-04-22 15:01 liuw_flexi 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/lg_sun/article/details/78913064 -(NSString *)getTimeToken{ NSDateFormatter *dateformatter = [NSDateFormatter new]; dateformatter.dateFormat = @"yyyy-MM-dd HH:mm:ss";... 阅读全文
posted @ 2018-04-17 10:12 liuw_flexi 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 某个cell发生数据变化,实时刷新,把变化的cell的indexPath作为参数: 比如微信的朋友圈点赞和评论 [weakSelf.tableView reloadRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationNone]; leftCapWidth和topCapHeight不变,其他部分等比拉伸:比... 阅读全文
posted @ 2018-04-17 09:24 liuw_flexi 阅读(187) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u011099640/article/details/53083845 阅读全文
posted @ 2018-04-10 17:56 liuw_flexi 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-04-07 14:18 liuw_flexi 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 之前一直以为get就是暴漏请求URL和参数,post就是将参数秘密传输。到现在也没真正搞清楚,项目中是否有必要去完全区别? 来新公司看到以前员工的写法:用http,对参数或者URL加密,然后对返回数据用同一个Key解密。对get和post更茫然了,于是上知乎查了一下,发现这个讲的还是能接受的。 阅读全文
posted @ 2018-04-07 14:17 liuw_flexi 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/yyyyccll/article/details/71173150 阅读全文
posted @ 2018-04-03 13:18 liuw_flexi 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 看到Metro大都会 这个App中扣款顺序有个cell可以移动,于是觉得是时候回忆一下UITableView的基本使用了。其实他这个移动cell的功能是系统自带的。 代码主要是这样: 如果要自定义移动效果,参考他的做法:https://www.jianshu.com/p/ce382f9bc794 阅读全文
posted @ 2018-03-12 13:18 liuw_flexi 阅读(294) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 29 下一页