摘要: import UIKit class CVLayerView: UIView { var pulseLayer : CAShapeLayer! //定义图层 override init(frame: CGRect) { super.init(frame: frame) let width = sel 阅读全文
posted @ 2019-03-28 16:02 sundayswift 阅读(555) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weiwandaixu_/article/details/88842491 2019年03月27日 13:35:40 一如初夏丿 阅读数:31 标签: linker command failed with exi Xcode10.2 swift5.0 Ha 阅读全文
posted @ 2019-03-28 15:26 sundayswift 阅读(2596) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/ed52b1d3be45 2016.05.18 12:35* 字数 1117 阅读 2317评论 4喜欢 14 github地址:ReactiveCocoa ReactiveCocoa 网上理论的挺多,大多翻译官方文档。但是鲜有教我们怎么一步一步引 阅读全文
posted @ 2019-03-28 12:32 sundayswift 阅读(555) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/2256e954473e 2019.01.31 09:13* 字数 86 阅读 6评论 0喜欢 0 2019.01.31 09:13* 字数 86 阅读 6评论 0喜欢 0 2019.01.31 09:13* 字数 86 阅读 6评论 0喜欢 0 阅读全文
posted @ 2019-03-28 12:21 sundayswift 阅读(251) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/aluoshiyi/article/details/80844895 2018年06月28日 16:14:41 林升起 阅读数:311 一 、集成 在Podfile文件中加入 pod 'ReactiveCocoa', '~> 7.2.0',会自动集成Rea 阅读全文
posted @ 2019-03-28 11:42 sundayswift 阅读(1061) 评论(0) 推荐(0) 编辑
摘要: //MARK: -根据后台时间戳返回几分钟前,几小时前,几天前 func updateTimeToCurrennTime(timeStamp: Double) -> String { //获取当前的时间戳 let currentTime = Date().timeIntervalSince1970 阅读全文
posted @ 2019-03-28 10:41 sundayswift 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 在cell中 // 播放器动画效果 private var replicatorLayer:ReplicatorLayer = { let layer = ReplicatorLayer.init(frame: CGRect(x: 0, y: 0, width: 2, height: 15)) re 阅读全文
posted @ 2019-03-28 10:11 sundayswift 阅读(464) 评论(0) 推荐(0) 编辑
摘要: // // HomeLiveRankCell.swift // YYSwiftProject // // Created by Domo on 2018/7/28. // Copyright © 2018年 知言网络. All rights reserved. // import UIKit cla 阅读全文
posted @ 2019-03-28 10:01 sundayswift 阅读(866) 评论(0) 推荐(0) 编辑
摘要: swift中的使用案例样式 // Mark: -数据源更新 typealias AddDataBlock = () ->Void var updataBlock:AddDataBlock? func loadLiveData(){ let grpup = DispatchGroup() grpup. 阅读全文
posted @ 2019-03-28 09:43 sundayswift 阅读(3159) 评论(0) 推荐(0) 编辑
摘要: // // RecommendNewsCell.swift // XMLYFM // // Created by Domo on 2018/8/2. // Copyright © 2018年 知言网络. All rights reserved. // import UIKit class Recom 阅读全文
posted @ 2019-03-28 09:15 sundayswift 阅读(516) 评论(0) 推荐(0) 编辑