摘要: // // 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 阅读(889) 评论(0) 推荐(0) 编辑
摘要: swift中的使用案例样式 // Mark: -数据源更新 typealias AddDataBlock = () ->Void var updataBlock:AddDataBlock? func loadLiveData(){ let grpup = DispatchGroup() grpup. 阅读全文
posted @ 2019-03-28 09:43 sundayswift 阅读(3195) 评论(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 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 2018年03月01日 19:17:42 https://blog.csdn.net/sinat_21886795/article/details/79416068 今天介绍一个IOS的轮播控件FSPagerView。 FSPagerView是一个优雅的轮播控件,它可以十分轻松有效地制作轮播视图、产 阅读全文
posted @ 2019-03-27 00:28 sundayswift 阅读(4052) 评论(0) 推荐(0) 编辑
摘要: (本文代码已升级至Swift4) 有时我们需要从系统相册中选择视频录像,来进行编辑或者上传操作,这时使用 UIImagePickerController 就可以实现。 默认情况下,UIImagePickerController 打开系统“照片”后允许用户选择所有的媒体文件(不管是照片还是录像),我们 阅读全文
posted @ 2019-02-16 11:45 sundayswift 阅读(4344) 评论(0) 推荐(0) 编辑
摘要: 作用AVPLayer:可以用来播放在线及本地音视频AVAudioSession:音频会话,主要用来管理音频设置与硬件交互使用时需要导入 #import <AVFoundation/AVFoundation.h> AVAudioSession中配置选项: AVAudioSessionCategory 阅读全文
posted @ 2019-02-16 10:22 sundayswift 阅读(4454) 评论(0) 推荐(0) 编辑
摘要: Swift4 - GCD的使用 2018年03月30日 17:33:27 Longshihua 阅读数:1165 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/longshihua/article/details/79756676 从Swift3开 阅读全文
posted @ 2019-02-16 09:16 sundayswift 阅读(1455) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/072111f5889d 2017.03.05 22:54* 字数 1667 阅读 88评论 0喜欢 1 0. 预备知识 GCD对时间的描述有些新奇 #define NSEC_PER_SEC 1000000000ull #define NSEC_P 阅读全文
posted @ 2019-02-16 01:56 sundayswift 阅读(289) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/fc78dab5736f 2016.10.06 21:59* 在学习Swift 3的过程中整理了一些笔记,如果想看其他相关文章可前往《Swift 3必看》系列目录 swift 3中对C层级的GCD的API进行了彻头彻尾的改变。本文将从实际使用场景来 阅读全文
posted @ 2019-02-16 01:31 sundayswift 阅读(247) 评论(0) 推荐(0) 编辑
摘要: swift 4.0中dispatch_async,dispatch_after的使用 2018年03月28日 16:15:44 xiao_yuly 阅读数:3576 版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jacob_ios/article/ 阅读全文
posted @ 2019-02-16 01:29 sundayswift 阅读(1246) 评论(0) 推荐(0) 编辑